summaryrefslogtreecommitdiff
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* update pydoc-topicsv2.7.2Benjamin Peterson2011-06-111-22/+22
|
* bump to 2.7.2 finalBenjamin Peterson2011-06-112-2/+2
|
* fix regression in netrc comment handling (closes #12009)Benjamin Peterson2011-06-102-44/+101
|
* bump to 2.7.2rc1v2.7.2rc1Benjamin Peterson2011-05-292-2/+2
|
* Branch mergeÉric Araujo2011-05-291-0/+31
|\
| * Issue #9670: Increase the default stack size for secondary threads onNed Deily2011-05-281-0/+31
| | | | | | | | | | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren)
* | Fix test_distutils when sys.dont_write_bytecode is true (#9831).Éric Araujo2011-05-281-16/+11
|/ | | | | The tests now pass all combinations of -O/-OO and -B. See also #7071 and #6292 for previous variations on the same theme.
* merge headsBenjamin Peterson2011-05-262-0/+5
|\
| * raise an ValueError in getvalue() on closed StringIO (closes #12161)Benjamin Peterson2011-05-262-0/+5
| | | | | | | | Thanks for Catalin Iacob for the patch.
* | Branch mergeÉric Araujo2011-05-263-2/+4
|\ \ | |/ |/|
| * Fix display of html.parser.HTMLParser.feed docstrinÉric Araujo2011-05-251-1/+1
| |
| * Add missing name in pkgutil.__all__Éric Araujo2011-05-251-1/+1
| |
| * Branch mergeÉric Araujo2011-05-2573-1443/+982
| |\
| * | Make test_distutils pass without zlib (fixes #9435)Éric Araujo2011-05-081-0/+2
| | |
* | | Close #12182: Fix pydoc.HTMLDoc.multicolumn() if Python uses the new (true)Victor Stinner2011-05-261-2/+2
| | | | | | | | | | | | division (python -Qnew). Patch written by Ralf W. Grosse-Kunstleve.
* | | IDLE: #6378: Further adjust idle.bat to start associated PythonKurt B. Kaiser2011-05-252-2/+3
| | |
* | | Issue #12175: RawIOBase.readall() now returns None if read() returns None.Victor Stinner2011-05-252-3/+10
| | |
* | | Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError ifVictor Stinner2011-05-251-0/+2
| | | | | | | | | | | | the file is closed.
* | | Issue #12057: Add tests for the HZ encodingVictor Stinner2011-05-253-0/+33
| | |
* | | Issue #1441530: In imaplib, use makefile() to wrap the SSL socket to avoidCharles-François Natali2011-05-241-14/+4
| | | | | | | | | | | | heap fragmentation and MemoryError with some malloc implementations.
* | | Issue #12100: Don't reset incremental encoders of CJK codecs at each call toVictor Stinner2011-05-241-0/+30
| |/ |/| | | | | | | their encode() method anymore, but continue to call the reset() method if the final argument is True.
* | correctly lookup __dir__Benjamin Peterson2011-05-231-0/+1
| |
* | test_codecs now removes the temporay file (created by the test)Victor Stinner2011-05-231-7/+6
| |
* | Issue #12012: test_ssl uses test_support.import_module()Victor Stinner2011-05-221-9/+1
| | | | | | | | | | | | | | Skip the whole file if the SSL module is missing. It was already the case, except that the SkipTest exception was raised in test_main(). This commit fixes an error in test_ssl if the ssl module is missing.
* | Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymoreVictor Stinner2011-05-211-17/+0
| | | | | | | | to be able to unload the module.
* | Minor code cleanup.Raymond Hettinger2011-05-181-1/+1
| |
* | Issue #12057: Fix .hgeol and test_multibytecodec_support for the conversion ofVictor Stinner2011-05-171-5/+12
| | | | | | | | the CJK encoding testcase BLOB into multiple text files.
* | (backport) Fixes #11088: IDLE crashes when using F5 to run a script on OSX ↵Ronald Oussoren2011-05-171-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with Tk 8.5 Without this patch IDLE will crash reliably on OSX when Tkinter is linked to TkCocoa 8.5.x. To reproduce: * Create a new file (script.py) with the following two lines: x = raw_input('prompt: ') print x * Save the script * Run the script using the F5 keyboard shortcut (running from the menu works fine) The patch is a fairly crude hack, but we haven't found a better workaround for this Tk bug yet.
* | (backport)Fix #10154 and #10090: locale normalizes the UTF-8 encoding to ↵Ronald Oussoren2011-05-171-1/+1
| | | | | | | | | | | | | | | | "UTF-8" 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.
* | Fix closes issue #12088 - fixes the tarfile.extractall issue when theSenthil Kumaran2011-05-172-1/+63
| | | | | | | | | | symlinks/hardlink was broken. It handles now in a graceful manner (No exception is raised, behavior similar GNU tar).
* | Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymoreVictor Stinner2011-05-171-1/+1
| |
* | Issue #12057: Convert CJK encoding testcase BLOB into multiple text filesVictor Stinner2011-05-1625-1019/+202
| |
* | Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set ↵Ronald Oussoren2011-05-155-26/+105
| | | | | | | | | | | | | | | | | | in shell. Without this patch python will fail to start properly when the environment variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is not compatible with the value during Python's build. This is caused by code in sysconfig that was only meant to be used in disutils.
* | Fixes Issue #12059: Properly handle missing hash functions even whenGregory P. Smith2011-05-142-20/+41
| | | | | | | | | | | | | | the expected builtin modules are not present. This includes a unittest for __get_builtin_constructor() in the face of such an error.
* | Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tailNadeem Vawda2011-05-141-0/+9
| | | | | | | | attribute when called without a max_length argument.
* | #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-213/+269
| |
* | Change import_fresh_module to work with packages.Ezio Melotti2011-05-141-10/+6
| |
* | Issue #11896: Save on Close failed despite selecting "Yes" in dialog.Kurt B. Kaiser2011-05-123-32/+34
| | | | | | | | Backport 70055:35ed0efd7dd3
* | Issue #12062: In the `io` module, fix a flushing bug when doing a certainAntoine Pitrou2011-05-131-0/+26
| | | | | | | | | | | | type of I/O sequence 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).
* | #12051: Fix segfault in json.dumps() while encoding highly-nested objects ↵Ezio Melotti2011-05-111-1/+21
| | | | | | | | using the C accelerations.
* | Issue #8498: In socket.accept(), allow to specify 0 as a backlog value inAntoine Pitrou2011-05-101-0/+7
| | | | | | | | order to accept exactly one connection. Patch by Daniel Evers.
* | (Merge 3.1) Issue #12012: ssl.PROTOCOL_SSLv2 becomes optionalVictor Stinner2011-05-102-33/+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!
* | Some more tests were incorrectly marked as C specific.Ezio Melotti2011-05-091-13/+14
| |
* | Issue 11164: Remove obsolete allnodes test from minidom test.Martin v. Löwis2011-05-091-20/+0
| | | | | | | | Patch by Arfrever Frehtes Taifersar Arahesis.
* | #11910: Fix test_heapq to skip the C tests when _heapq is missing.Ezio Melotti2011-05-091-15/+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.
* | Fix deprecation warnings in test_unittest.Ezio Melotti2011-05-091-4/+4
| |
* | import_fresh_module ought to be in __all__Benjamin Peterson2011-05-081-1/+2
| |
* | Fix cut and paste error.Raymond Hettinger2011-05-071-1/+1
| |