Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge heads | Benjamin Peterson | 2011-05-26 | 2 | -0/+5 |
|\ | |||||
| * | raise an ValueError in getvalue() on closed StringIO (closes #12161) | Benjamin Peterson | 2011-05-26 | 2 | -0/+5 |
| | | | | | | | | Thanks for Catalin Iacob for the patch. | ||||
* | | Branch merge | Éric Araujo | 2011-05-26 | 3 | -2/+4 |
|\ \ | |/ |/| | |||||
| * | Fix display of html.parser.HTMLParser.feed docstrin | Éric Araujo | 2011-05-25 | 1 | -1/+1 |
| | | |||||
| * | Add missing name in pkgutil.__all__ | Éric Araujo | 2011-05-25 | 1 | -1/+1 |
| | | |||||
| * | Branch merge | Éric Araujo | 2011-05-25 | 73 | -1443/+982 |
| |\ | |||||
| * | | Make test_distutils pass without zlib (fixes #9435) | Éric Araujo | 2011-05-08 | 1 | -0/+2 |
| | | | |||||
* | | | Close #12182: Fix pydoc.HTMLDoc.multicolumn() if Python uses the new (true) | Victor Stinner | 2011-05-26 | 1 | -2/+2 |
| | | | | | | | | | | | | division (python -Qnew). Patch written by Ralf W. Grosse-Kunstleve. | ||||
* | | | IDLE: #6378: Further adjust idle.bat to start associated Python | Kurt B. Kaiser | 2011-05-25 | 2 | -2/+3 |
| | | | |||||
* | | | Issue #12175: RawIOBase.readall() now returns None if read() returns None. | Victor Stinner | 2011-05-25 | 2 | -3/+10 |
| | | | |||||
* | | | Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if | Victor Stinner | 2011-05-25 | 1 | -0/+2 |
| | | | | | | | | | | | | the file is closed. | ||||
* | | | Issue #12057: Add tests for the HZ encoding | Victor Stinner | 2011-05-25 | 3 | -0/+33 |
| | | | |||||
* | | | Issue #1441530: In imaplib, use makefile() to wrap the SSL socket to avoid | Charles-François Natali | 2011-05-24 | 1 | -14/+4 |
| | | | | | | | | | | | | heap fragmentation and MemoryError with some malloc implementations. | ||||
* | | | Issue #12100: Don't reset incremental encoders of CJK codecs at each call to | Victor Stinner | 2011-05-24 | 1 | -0/+30 |
| |/ |/| | | | | | | | their encode() method anymore, but continue to call the reset() method if the final argument is True. | ||||
* | | correctly lookup __dir__ | Benjamin Peterson | 2011-05-23 | 1 | -0/+1 |
| | | |||||
* | | test_codecs now removes the temporay file (created by the test) | Victor Stinner | 2011-05-23 | 1 | -7/+6 |
| | | |||||
* | | Issue #12012: test_ssl uses test_support.import_module() | Victor Stinner | 2011-05-22 | 1 | -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() anymore | Victor Stinner | 2011-05-21 | 1 | -17/+0 |
| | | | | | | | | to be able to unload the module. | ||||
* | | Minor code cleanup. | Raymond Hettinger | 2011-05-18 | 1 | -1/+1 |
| | | |||||
* | | Issue #12057: Fix .hgeol and test_multibytecodec_support for the conversion of | Victor Stinner | 2011-05-17 | 1 | -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 Oussoren | 2011-05-17 | 1 | -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 Oussoren | 2011-05-17 | 1 | -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 the | Senthil Kumaran | 2011-05-17 | 2 | -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 anymore | Victor Stinner | 2011-05-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #12057: Convert CJK encoding testcase BLOB into multiple text files | Victor Stinner | 2011-05-16 | 25 | -1019/+202 |
| | | |||||
* | | Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set ↵ | Ronald Oussoren | 2011-05-15 | 5 | -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 when | Gregory P. Smith | 2011-05-14 | 2 | -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_tail | Nadeem Vawda | 2011-05-14 | 1 | -0/+9 |
| | | | | | | | | attribute when called without a max_length argument. | ||||
* | | #7960: fix docstrings for captured_output and captured_stdout. | Ezio Melotti | 2011-05-14 | 1 | -8/+8 |
| | | |||||
* | | #5723: Improve json tests to be executed with and without accelerations. | Ezio Melotti | 2011-05-14 | 19 | -213/+269 |
| | | |||||
* | | Change import_fresh_module to work with packages. | Ezio Melotti | 2011-05-14 | 1 | -10/+6 |
| | | |||||
* | | Issue #11896: Save on Close failed despite selecting "Yes" in dialog. | Kurt B. Kaiser | 2011-05-12 | 3 | -32/+34 |
| | | | | | | | | Backport 70055:35ed0efd7dd3 | ||||
* | | Issue #12062: In the `io` module, fix a flushing bug when doing a certain | Antoine Pitrou | 2011-05-13 | 1 | -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 Melotti | 2011-05-11 | 1 | -1/+21 |
| | | | | | | | | using the C accelerations. | ||||
* | | Issue #8498: In socket.accept(), allow to specify 0 as a backlog value in | Antoine Pitrou | 2011-05-10 | 1 | -0/+7 |
| | | | | | | | | order to accept exactly one connection. Patch by Daniel Evers. | ||||
* | | (Merge 3.1) Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional | Victor Stinner | 2011-05-10 | 2 | -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 Melotti | 2011-05-09 | 1 | -13/+14 |
| | | |||||
* | | Issue 11164: Remove obsolete allnodes test from minidom test. | Martin v. Löwis | 2011-05-09 | 1 | -20/+0 |
| | | | | | | | | Patch by Arfrever Frehtes Taifersar Arahesis. | ||||
* | | #11910: Fix test_heapq to skip the C tests when _heapq is missing. | Ezio Melotti | 2011-05-09 | 1 | -15/+29 |
| | | |||||
* | | #11910: change import_fresh_module to return None when one of the "fresh" ↵ | Ezio Melotti | 2011-05-09 | 1 | -4/+8 |
| | | | | | | | | modules can not be imported. | ||||
* | | Fix deprecation warnings in test_unittest. | Ezio Melotti | 2011-05-09 | 1 | -4/+4 |
| | | |||||
* | | import_fresh_module ought to be in __all__ | Benjamin Peterson | 2011-05-08 | 1 | -1/+2 |
| | | |||||
* | | Fix cut and paste error. | Raymond Hettinger | 2011-05-07 | 1 | -1/+1 |
| | | |||||
* | | Some tests were incorrectly marked as C specific. | Raymond Hettinger | 2011-05-07 | 1 | -3/+8 |
| | | |||||
* | | Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by ↵ | Antoine Pitrou | 2011-05-07 | 2 | -2/+11 |
| | | | | | | | | Kasun Herath. | ||||
* | | #10169: Fix argument parsing in socket.sendto() to avoid error masking. | Ezio Melotti | 2011-05-07 | 1 | -0/+39 |
| | | |||||
* | | #12017: Fix segfault in json.loads() while decoding highly-nested objects ↵ | Ezio Melotti | 2011-05-07 | 1 | -0/+19 |
|/ | | | | using the C accelerations. | ||||
* | Fix potential resource leak in test_mmap. | Nadeem Vawda | 2011-05-07 | 1 | -0/+1 |
| | |||||
* | Issue #11277: Fix tests - crash will not trigger if the file is closed and ↵ | Nadeem Vawda | 2011-05-07 | 1 | -14/+12 |
| | | | | reopened. | ||||
* | Issue #11277: Add tests for mmap crash when using large sparse files on OS X. | Nadeem Vawda | 2011-05-07 | 1 | -26/+34 |
| | | | | | | Also, reduce code duplication in LargeMmapTests. Original patch by Steffen Daode Nurpmeso. |