summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15247: FileIO now raises an error when given a file descriptor ↵Antoine Pitrou2012-07-061-0/+8
| | | | pointing to a directory.
* Fix issue # 15033 - Return the proper exitcode for failure when modules are ↵Senthil Kumaran2012-07-051-0/+15
| | | | invoked using -m switch. Patch contributed by Jeff Knupp
* Issue #9239: add tests for modifying zipfile comments in append mode.Antoine Pitrou2012-06-301-0/+18
|
* urllib.parse cleanup. rename keywords used as variablesSenthil Kumaran2012-06-291-7/+7
|
* Better diagnose test failureAntoine Pitrou2012-06-291-2/+2
|
* #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()Petri Lehtinen2012-06-292-0/+20
|
* #9559: Don't call _pre_mailbox_hook more than oncePetri Lehtinen2012-06-291-2/+5
|
* Issue #5067: improve some json error messages.Antoine Pitrou2012-06-283-7/+9
| | | | Patch by Serhiy Storchaka.
* Issue #10571: Fix the "--sign" option of distutils' upload command.Antoine Pitrou2012-06-281-1/+1
| | | | Patch by Jakub Wilk.
* #9559: Append data to single-file mailbox files if messages are only addedPetri Lehtinen2012-06-282-5/+42
| | | | | | If messages were only added, a new file is no longer created and renamed over the old file when flush() is called on an mbox, MMDF or Babyl mailbox.
* Flush stdout and stderr when running tests in parallelAntoine Pitrou2012-06-271-0/+2
| | | | (helps getting results in real-time when stdio is transmitted over a pipe or socket)
* Issue #15079: make a test applicable to both C and Python versions of the ↵Antoine Pitrou2012-06-261-3/+5
| | | | | | pickle module. Patch by Stefan Mihaila.
* Issue #14443: ensure that brp-python-bytecompile is invoked with the correctDavid Malcolm2012-06-261-1/+16
| | | | | | | | | | | | | | | | | | | python executable The __os_install_macro defines some post-processing activities during an rpm build; one of the scripts it calls is brp-python-bytecompile, which can take an argument: the python executable with which to byte-compile .py files in the package payload. In some older versions of rpm (e.g. in RHEL 6), this invocation doesn't pass in an argument, and brp-python-bytecompile defaults to using /usr/bin/python, which can lead to the .py files being byte-compiled for the wrong version of python. This has been fixed in later versions of rpm by passing in %{__python} as an argument to brp-python-bytecompile. Workaround this by detecting if __os_install_post has a 0-argument invocation of brp-python-bytecompile, and if so generating an equivalent macro that has the argument, and explicitly provide the new definition within the specfile.
* Issue #15179: Closed socket on connection failure. Thanks to Kazutaka Morita ↵Vinay Sajip2012-06-251-1/+5
| | | | for the patch.
* Backport test_nntplib fixes from default.Antoine Pitrou2012-06-251-2/+5
|
* Backout change e8f44ebacda7052267318cecf5b6f128d35add17. Reverting the testGregory P. Smith2012-06-251-5/+5
| | | | | | | | to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1). This is an attempt to see if this change is what caused the ubuntu arm buildbot to hang in test_io's test_interrupted_write_retry_text. Discussion in Issue #12268.
* Refer test_xmlrpc_net to the new buildbot URL at buildbot.python.org.Georg Brandl2012-06-241-1/+1
|
* Partial backport of 612f34e31270: fix spacing error in exception message.Georg Brandl2012-06-241-2/+2
|
* Fixes issue #12268: File readline, readlines and read() or readall() methodsGregory P. Smith2012-06-241-0/+236
| | | | | | no longer lose data when an underlying read system call is interrupted. IOError is no longer raised due to a read system call returning EINTR from within these methods.
* Speed up test_io by >2x by reducing the sleep time using setitimer instead ofGregory P. Smith2012-06-241-5/+5
| | | | alarm for the signal tests.
* Issue #14653: email.utils.mktime_tz() no longer relies on systemAlexander Belopolsky2012-06-222-4/+10
| | | | mktime() when timezone offest is supplied.
* #10053: Don't close FDs when FileIO.__init__ failsHynek Schlawack2012-06-211-0/+11
| | | | Loosely based on the work by Hirokazu Yamamoto.
* Fix GzipFile's handling of filenames given as bytes objects.Nadeem Vawda2012-06-192-4/+18
|
* Issue #15101: Make pool finalizer avoid joining current thread.Richard Oudkerk2012-06-181-3/+6
|
* Update out of date docstring.R David Murray2012-06-171-7/+5
|
* Ignore X-Antivirus headers in test_nntplibNick Coghlan2012-06-171-1/+4
|
* Issue #15095: Use better assertions in test_imaplibNick Coghlan2012-06-171-5/+5
|
* Issue #15043: skip test_gdb if the custom hooks can't be loadedNick Coghlan2012-06-171-0/+9
|
* #15036: Make a repeated changes and flushes work with single-file mailboxesPetri Lehtinen2012-06-152-0/+12
|
* Issue #14937: Fix typo. Patch by Roger Serwy.Martin v. Löwis2012-06-141-1/+1
|
* Issue #12510: Revise and triple # of calltip tests, with an eye to unittestTerry Jan Reedy2012-06-072-70/+131
| | | | | | use. Make the get_entity 'method' a module function as it did not use 'self'. Delete buggy _find_constructor function that is not needed, at least in 3.x. Revise get_argspec so all tests pass. Add and fix NEWS entries.
* Issue #13854: Properly handle non-integer, non-string arg to SystemExitRichard Oudkerk2012-06-062-3/+33
| | | | | Previously multiprocessing only expected int or str. It also wrongly used an exit code of 1 when the argument was a string instead of zero.
* Issue #12157: pool.map() does not handle empty iterable correctlyRichard Oudkerk2012-06-062-3/+16
| | | | Initial patch by mouad
* Revert the modification of e.strerror in 3.2 as that kind of change couldGregory P. Smith2012-06-031-3/+0
| | | | break someone's over specified test that depends on the exact error message.
* Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSErrorGregory P. Smith2012-06-032-8/+48
| | | | | | when the path existed and had the S_ISGID mode bit set when it was not explicitly asked for. This is no longer an exception as mkdir cannot control if the OS sets that bit for it or not.
* PEP 3131: support non-ASCII characters in auto-completion of identifiers.Martin v. Löwis2012-06-032-2/+2
|
* Do not try to insert control characters.Martin v. Löwis2012-06-031-1/+1
|
* Issue #14937: Perform auto-completion of filenames in strings even for ↵Martin v. Löwis2012-06-033-2/+24
| | | | non-ASCII filenames.
* Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive nameTerry Jan Reedy2012-06-031-15/+17
| | | | | | 'name' to 'expression' as the latter is what the string actually represents. The bug in this issue was only catching NameError and AttributeError when evaluating an expression that was not necessarily a name.
* Issue 10365: Add and replace comments; condense defaulted attribute access.Terry Jan Reedy2012-06-031-16/+13
| | | | Code patch by Roger Serwy.
* Issue #14926: fix docstring highlightSandro Tosi2012-06-021-1/+1
|
* Issue #14962: Update text coloring in IDLE shell window after changingNed Deily2012-05-311-0/+5
| | | | options. Patch by Roger Serwy.
* Added test skip under Windows, as not applicable there.Vinay Sajip2012-05-311-0/+1
|
* Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.Ned Deily2012-05-291-1/+1
|
* Issue #9041: raised exception is misleadingMeador Inge2012-05-281-0/+10
| | | | | | An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that caused an incorrect exception to be returned in the case of overflow has been fixed.
* Issue #14443: Tell rpmbuild to use the correct version of PythonNick Coghlan2012-05-281-1/+2
|
* Issue14929: Stop Idle 3.x from closing on Unicode decode errors when grepping.Terry Jan Reedy2012-05-281-1/+1
| | | | Patch by Roger Serwy.
* Issue12510: Attempting to get invalid tooltip no longer closes Idle.Terry Jan Reedy2012-05-281-3/+6
| | | | Original patch by Roger Serwy.
* #10365 Trim trailing whitespaceTerry Jan Reedy2012-05-271-1/+1
|
* Issue #10365: File open dialog now works instead of crashingTerry Jan Reedy2012-05-272-6/+14
| | | | even when parent window is closed. Patch by Roger Serwy.