Commit graph

44913 commits

Author SHA1 Message Date
Georg Brandl
7fafbc95c0 More cleanup: Move some demos into a dedicated Tools/demo dir, move 2to3 demo to Tools, and remove all the other Demo content. 2010-12-30 21:33:07 +00:00
Michael Foord
6f17e2df29 Issue 10786: unittest.TextTestRunner default stream no longer bound at import time 2010-12-30 19:36:29 +00:00
Georg Brandl
30baf2b0ed Fix NameErrors. 2010-12-30 17:36:17 +00:00
Georg Brandl
5684a9ac30 Clean up tools: remove "world" and "framer", move single SSL script to scripts/. 2010-12-30 17:32:22 +00:00
Georg Brandl
4cf83f4d12 Remove some of the old demos. (Put a few somewhere else.) 2010-12-30 17:22:33 +00:00
Martin v. Löwis
d1fc34d563 Build and install libpython3.so. 2010-12-30 14:55:47 +00:00
Martin v. Löwis
0dbebc02ed Issue #10542: Document that identifiers use XID_Start XID_Continue*. 2010-12-30 08:36:37 +00:00
Senthil Kumaran
627284c67f Fix Issue10793 - hashlib documentation issue on return type of digest 2010-12-30 07:07:58 +00:00
R. David Murray
ef1a8b62bc Fix same typo in docs. 2010-12-29 19:06:48 +00:00
Terry Reedy
74901007a5 Minor clarification 2010-12-29 19:02:07 +00:00
R. David Murray
4c1da4c2a8 Fix a comment typo and update another comment to match Python3 reality 2010-12-29 16:57:24 +00:00
Senthil Kumaran
299fa4cb21 Fix Issue 10753 - Don't quote ;=, in the PATH_INFO envvar. 2010-12-29 06:25:42 +00:00
Victor Stinner
de3aa7fc62 Issue #10783: rephrase the changelog (new try) 2010-12-29 02:44:42 +00:00
Brian Curtin
7ef28e8bd7 Close stdout, clear ResourceWarning 2010-12-29 02:41:07 +00:00
Brian Curtin
57160d7204 Fix #9333 on Windows XP, where os.symlink is not a possibility. 2010-12-29 02:04:28 +00:00
Victor Stinner
80e788a5dd Rephrase PyUnicode_CompareWithASCIIString() documentation 2010-12-28 23:39:51 +00:00
Victor Stinner
ece98d6e08 Issue #10783: rephrase the changelog (NEWS, What's new) 2010-12-28 23:35:10 +00:00
Victor Stinner
e1c0c7c7b2 Don't ignore pgen error (on "make Parser/pgen.stamp") 2010-12-28 23:14:17 +00:00
Victor Stinner
60fe499941 Compile pgenmain.c and printgrammar.c with PGEN defined 2010-12-28 23:05:20 +00:00
Brian Quinlan
251cc846f3 Does not install a logging handler. Fixes issue 10626. 2010-12-28 21:14:34 +00:00
Terry Reedy
dad532f7de Issue 10738: Fix webbrowser.Opera.raise_opts value. 2010-12-28 19:30:19 +00:00
R. David Murray
e05ca2aff4 #9824: encode , and ; in cookie values so that browsers don't split on them
There is a small chance of backward incompatibility here, but only for
non-SimpleCookie applications reading SimpleCookie generated cookies.  Even
then, any such ap is likely to be handling escaped values already, and it would
take a fairly perverse implementation of unescaping to fail to unescape these
newly escaped chars, so the risk seems minimal.
2010-12-28 18:54:13 +00:00
Georg Brandl
8aa7e999b5 Add sys.flags.quiet attribute for the new -q option, as noted missing by Eric in #1772833. 2010-12-28 18:30:18 +00:00
Brian Curtin
31e3b77fea This file was obsolted by a number of adjustments to the os.symlink tests
on Windows, and is no longer needed by any tests or Lib/test/support.py
2010-12-28 17:12:43 +00:00
Brian Curtin
9624559d12 Minor doc update for #9333. Took out the phrasing about os.symlink not
existing and mentioned the OSError possibility.
2010-12-28 17:08:22 +00:00
Senthil Kumaran
164540fee1 Fix Issue10759 - html.parser.unescape() fails on HTML entities with incorrect syntax 2010-12-28 15:55:16 +00:00
Brian Curtin
3b4499c5c7 Fix #9333. The symlink function is always available now, raising OSError
when the user doesn't hold the symbolic link privilege rather than hiding it.
2010-12-28 14:31:47 +00:00
Victor Stinner
baab9d0bf6 Issue #10783: Fix test_sys, pack('c', ' ') => pack('c', b' ') 2010-12-28 13:33:43 +00:00
Victor Stinner
da9ec995f6 Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8
* Replace "bytes" by "bytes object" in struct error messages
 * Document the API change in What's new in Python 3.2
 * Fix test_wave
 * Remove also ugly implicit conversions in test_struct
2010-12-28 13:26:42 +00:00
Georg Brandl
e398da9ad0 #10609: fix non-working dbm example. 2010-12-28 11:53:25 +00:00
Georg Brandl
e9e8c9bda4 #10739: document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected. 2010-12-28 11:49:41 +00:00
Georg Brandl
9d9848e776 Rewrap. 2010-12-28 11:48:53 +00:00
Georg Brandl
c166076910 Remove history; adapt a bit more to reST, since this will once be part of the dev guide. 2010-12-28 11:38:12 +00:00
Georg Brandl
2c39c77285 #10781: clarify that *encoding* is not a parameter for Node objects in general. 2010-12-28 11:15:49 +00:00
Georg Brandl
c28036b532 #10742: document readonly attribute of memoryviews. 2010-12-28 11:08:17 +00:00
Georg Brandl
b12fd63468 #10767: update README in crashers; not all may have a bug entry and/or be fixed. 2010-12-28 11:06:07 +00:00
Victor Stinner
b1dbd10c42 Issue #9738: Fix typo, ASCII-encoding string => ASCII-encoded string 2010-12-28 11:02:46 +00:00
Georg Brandl
68eb464bc7 Add news entry and clarify another. 2010-12-28 11:02:12 +00:00
Georg Brandl
780d5e08c4 #10768: fix ScrolledText widget construction, and make the example work from the interactive shell. 2010-12-28 10:56:20 +00:00
Georg Brandl
90b20675bd #10777: fix iteration over dict keys while mutating the dict. 2010-12-28 10:38:33 +00:00
Georg Brandl
ff52f76019 #10679: install idle, pydoc, 2to3 scripts with X.Y suffix for make altinstall; create symlinks for make install. 2010-12-28 09:51:43 +00:00
Georg Brandl
15641925b8 Fix advice: call PyType_Ready to fill in ob_type of custom types. 2010-12-28 09:29:19 +00:00
Georg Brandl
fcf3a0c55b Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial. 2010-12-28 09:18:24 +00:00
Georg Brandl
2a39b71ecc Replace sys.maxint mention by sys.maxsize. 2010-12-28 09:16:12 +00:00
Victor Stinner
b9cb21efc8 Issue #10780: Remove commas at the end of the argument list
Forbidden in C, stupid language!
2010-12-28 00:59:03 +00:00
Victor Stinner
301e956686 Issue #8966: Remove the documentation of ctypes.set_conversion_mode()
Function removed by r83195.
2010-12-28 00:59:02 +00:00
Victor Stinner
92be939695 Issue #10780: PyErr_SetFromWindowsErrWithFilename() and
PyErr_SetExcFromWindowsErrWithFilename() decode the filename from the
filesystem encoding instead of UTF-8.
2010-12-28 00:28:21 +00:00
Victor Stinner
83098a4095 Issue #10778: decoding_fgets() decodes the filename from the filesystem
encoding instead of UTF-8.
2010-12-27 20:12:13 +00:00
Victor Stinner
cb428f0162 Issue #10779: PyErr_WarnExplicit() decodes the filename from the filesystem
encoding instead of UTF-8.
2010-12-27 20:10:36 +00:00
R. David Murray
8e286c472b #7056: runtest and runtest_inner don't use testdir, so drop it from their sigs
I've only tested regular runs and -j runs.  If I've broken anything
else I'm sure I'll hear about it sooner or later.
2010-12-27 20:09:32 +00:00