summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #12100: Don't reset incremental encoders of CJK codecs at each call toVictor Stinner2011-05-243-4/+38
| | | | | their encode() method anymore, but continue to call the reset() method if the final argument is True.
* backout 8b384de4e780, so a proper fix can be considered (#5715)Benjamin Peterson2011-05-241-2/+0
|
* use '->' to indicate return valuesBenjamin Peterson2011-05-241-3/+3
|
* generally, sockets should be closed after they're usedBenjamin Peterson2011-05-241-1/+2
|
* Issue #5715: In socketserver, close the server socket in the child process.Charles-François Natali2011-05-242-1/+3
|
* correctly lookup __dir__Benjamin Peterson2011-05-233-5/+10
|
* test_codecs now removes the temporay file (created by the test)Victor Stinner2011-05-231-7/+6
|
* Issue #10801: Remove a debug print() from test_zipfileVictor Stinner2011-05-221-1/+0
|
* Issue 12126: removing incorrect claim about return value of selectEli Bendersky2011-05-221-2/+1
|
* this should actually be an IOErrorBenjamin Peterson2011-05-201-1/+1
|
* add example for not using accessBenjamin Peterson2011-05-201-1/+20
|
* #12072: add missing parenthesis in the doc. Patch by Sandro Tosi.Ezio Melotti2011-05-201-1/+1
|
* Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymoreVictor Stinner2011-05-193-41/+26
| | | | to be able to unload the module.
* Ooops, add the missing file of the backport of commit 33543b4e0e5d from PythonVictor Stinner2011-05-181-0/+0
| | | | | 3.2 (#10801: In zipfile, support different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky.)
* Backport commit 33543b4e0e5d from Python 3.2: #10801: In zipfile, supportVictor Stinner2011-05-183-4/+36
| | | | | different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky.
* Fix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" ↵Ronald Oussoren2011-05-172-1/+4
| | | | | | | | instead of "UTF8" On MacOSX and OpenBSD (and possibly other BSDs) "en_US.UTF-8" is a valid locale while "en_US.UTF8" is not. As the former works on Linux as well it is better to normalize to that value.
* Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymoreVictor Stinner2011-05-161-1/+1
|
* Issue #11614: Fix importlib tests for the new __hello__ moduleVictor Stinner2011-05-161-9/+17
|
* Issue #12057: Convert CJK encoding testcase BLOB into multiple text filesVictor Stinner2011-05-1627-1024/+215
|
* Issue #11614: import __hello__ prints "Hello World!". Patch written by AndreasVictor Stinner2011-05-164-31/+44
| | | | Stührk.
* Issue #10756: atexit normalizes the exception before displaying it. Patch byVictor Stinner2011-05-153-0/+12
| | | | | | Andreas Stührk. Backport a fix already applied to Python 3.2+ (4a82be47a948 + 5060a92a8597).
* Issue #12060: Use sig_atomic_t type and volatile keyword in the signal module.Victor Stinner2011-05-152-3/+6
| | | | Patch written by Charles-François Natali.
* Closes #6498: fix several misspellings of "SystemExit" as "SystemError".Georg Brandl2011-05-152-6/+7
|
* Fix copy-paste mistake in new zlib test.Nadeem Vawda2011-05-141-2/+4
|
* Issue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.Nadeem Vawda2011-05-143-14/+39
| | | | | Raise an OverflowError if the input data is too large, instead of silently truncating the input and returning an incorrect result.
* Merge headsKurt B. Kaiser2011-05-141-30/+99
|\
| * pprint usage example rethought.Łukasz Langa2011-05-141-30/+99
| |
* | Issue #6378: Further adjust idle.bat to start associated PythonKurt B. Kaiser2011-05-142-2/+4
|/
* Issue #8650: Backport 64-bit safety fixes for compress() and decompress().Nadeem Vawda2011-05-142-10/+32
|
* Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tailNadeem Vawda2011-05-143-7/+24
| | | | attribute when called without a max_length argument.
* #11979: improve wording and markup in sockets howto. Patch by Xavier Morel.Ezio Melotti2011-05-141-16/+17
|
* #7960: fix docstrings for captured_output and captured_stdout.Ezio Melotti2011-05-141-8/+8
|
* #5723: Improve json tests to be executed with and without accelerations.Ezio Melotti2011-05-1419-195/+249
|
* Change import_fresh_module to work with packages.Ezio Melotti2011-05-141-10/+6
|
* Issue #12062: Fix a flushing bug when doing a certain type of I/O sequenceAntoine Pitrou2011-05-123-1/+32
| | | | | | on a file opened in read+write mode (namely: reading, seeking a bit forward, writing, then seeking before the previous write but still within buffered data, and writing again).
* Issue #11896: Save on Close failed despite selecting "Yes" in dialog.Kurt B. Kaiser2011-05-123-32/+32
| | | | | _tkinter.c is returning <class '_tkinter.Tcl_Obj'> sometimes. Don't use tkinter.messagebox.Message - use the helper functions which convert to str.
* Issue #1028: Tk returns invalid Unicode null in %A: UnicodeDecodeError.Kurt B. Kaiser2011-05-113-4/+23
| | | | | With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused IDLE to exit. Converted to valid Unicode null in PythonCmd().
* Issue #10419: Fix build_scripts command of distutils to handle correctlyVictor Stinner2011-05-102-11/+40
| | | | | non-ASCII scripts. Open and write the script in binary mode, but ensure that the shebang is decodable from UTF-8 and from the encoding of the script.
* #12051: Fix segfault in json.dumps() while encoding highly-nested objects ↵Ezio Melotti2011-05-103-3/+38
| | | | using the C accelerations.
* Issue #12012: ssl.PROTOCOL_SSLv2 becomes optionalVictor Stinner2011-05-095-24/+40
| | | | | | | OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2 protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid. Optimize also ssl.get_protocol_name(): speed does matter!
* Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,Victor Stinner2011-05-092-0/+4
| | | | clear the end-of-file indicator after CTRL+d.
* Some more tests were incorrectly marked as C specific.Ezio Melotti2011-05-091-12/+10
|
* Stop trying to use _xmlplus in the xml module. Closes #11164.Martin v. Löwis2011-05-099-105/+10
| | | | Patch by Arfrever Frehtes Taifersar Arahesis.
* #11910: Fix test_heapq to skip the C tests when _heapq is missing.Ezio Melotti2011-05-092-20/+29
|
* #11910: change import_fresh_module to return None when one of the "fresh" ↵Ezio Melotti2011-05-091-4/+8
| | | | modules can not be imported.
* Add a note to the str.find doc to suggest the use of the "in" operator.Ezio Melotti2011-05-091-0/+9
|
* put import_fresh_module in __all__Benjamin Peterson2011-05-081-0/+1
|
* Add back Misc/NEWS entry that got lost during merge, and fix a couple of ↵Ezio Melotti2011-05-081-3/+5
| | | | other things.
* MergeAntoine Pitrou2011-05-072-1/+10
|\
| * mergeGiampaolo Rodola'2011-05-072-1/+10
| |\