summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* #15872: Some more Windows related tuning to shutil.rmtree testsHynek Schlawack2012-12-101-8/+7
| | | | | | Turns out, the snakebite bots behave also their peculiarities. I'm really not proud of this stream of commits. :(
* #15872: Be flexible with appending *.* in shutil.rmtree test caseHynek Schlawack2012-12-101-1/+1
| | | | The Windows buildbots seem to be unable to agree whether they need them or not.
* #15872: More shutil test fixes for WindowsHynek Schlawack2012-12-101-2/+2
|
* #15872: Fix shutil.rmtree error tests for WindowsHynek Schlawack2012-12-101-1/+5
|
* #15872: Add tests for a 3.3 regression in the new fd-based shutil.rmtreeHynek Schlawack2012-12-101-0/+46
| | | | | It cause shutil.rmtree not ignore all errors. Also add a test ensuring that rmtree fails when being called on a symlink. Patch by Serhiy Storchaka.
* Issue #16629: Fix IDLE idlelib.CallTips test. Patch by Roger Serwy.Chris Jerdonek2012-12-101-1/+1
| | | | This commit updates a test broken by the change made for issue #14783.
* Issue #16582: use int exit code in tkinter._exitAndrew Svetlov2012-12-091-1/+5
|
* Issue #16248: Disable code execution from the user's home directory by ↵Antoine Pitrou2012-12-091-1/+3
| | | | | | tkinter when the -E flag is passed to Python. Patch by Zachary Ware.
* Branch mergeÉric Araujo2012-12-096-29/+51
|\
| * Fix setup.py register failure with invalid rst in description (#13614).Éric Araujo2012-12-092-11/+26
| | | | | | | | Original patch by Julien Courteau and Pierre Paul Lefebvre.
| * Create ~/.pypirc securely (#13512).Éric Araujo2012-12-081-10/+1
| | | | | | | | | | | | There was a window between the write and the chmod where the user’s password would be exposed, depending on default permissions. Philip Jenvey’s patch fixes it.
| * Ignore .nfs* files in distutils (#7719).Éric Araujo2012-12-083-8/+24
| | | | | | | | | | | | | | | | These files are created by some NFS clients a file is edited and removed concurrently (see added link in doc for more info). If such a file is removed between distutils calls listdir and copy, it will get confused. Other special files are ignored in sdist (namely VCS directories), but this has to be filtered out earlier.
* | Issue #16602: When a weakref's target was part of a long deallocation chain, ↵Antoine Pitrou2012-12-081-0/+21
|/ | | | | | the object could remain reachable through its weakref even though its refcount had dropped to zero. Thanks to Eugene Toder for diagnosing and reporting the issue.
* Skip pdb test for #13120 if threading is not available.Andrew Svetlov2012-12-051-0/+3
|
* Issue #13120: Allow to call pdb.set_trace() from thread.Andrew Svetlov2012-12-042-2/+36
| | | | Patch by Ilya Sandler.
* Fix test splitting in previous commit.Antoine Pitrou2012-12-031-4/+2
|
* Split the bigmem re test in two separate tests with different memory ↵Antoine Pitrou2012-12-031-2/+12
| | | | requirements.
* Issue #16583: Prevent nesting SystemExit in tkinter.CallWrapperAndrew Svetlov2012-12-031-2/+2
|
* Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-1/+16
| | | | Patch by Serhiy Storchaka.
* enumerate only requires an iterable (closes #16573)Benjamin Peterson2012-11-292-6/+18
| | | | Patch by Jonathan Kotta.
* Issue #16477: Close tarfile internal handlers in case of exception.Andrew Svetlov2012-11-291-13/+11
| | | | Patch by Serhiy Storchaka.
* #16549: fix test failures on Windows.Ezio Melotti2012-11-291-2/+2
|
* #16476: Fix json.tool to avoid including trailing whitespace.Ezio Melotti2012-11-292-9/+10
|
* #16549: Make json.tool work again on Python 3 and add tests. Initial patch ↵Ezio Melotti2012-11-292-9/+80
| | | | by Berker Peksag and Serhiy Storchaka.
* #16333: document a way to get rid of trailing whitespace when indent is used.Ezio Melotti2012-11-282-5/+12
|
* #16559: Add more tests for the json module. Patch by Serhiy Storchaka.Ezio Melotti2012-11-263-15/+44
|
* Closes #16521: Improved error handling for basicConfig(), added tests for same.Vinay Sajip2012-11-252-9/+168
|
* Issue #12848: The pure Python pickle implementation now treats object ↵Antoine Pitrou2012-11-241-13/+26
| | | | | | lengths as unsigned 32-bit integers, like the C implementation does. Patch by Serhiy Storchaka.
* Remove debug print.Ezio Melotti2012-11-231-4/+0
|
* #16306: report only the first unknown option and add more tests. Patch by ↵Ezio Melotti2012-11-231-3/+15
| | | | Serhiy Storchaka.
* Improve str() and object.__str__() documentation (issue #13538).Chris Jerdonek2012-11-212-0/+21
|
* Issue #1160: Fix compiling large regular expressions on UCS2 builds.Antoine Pitrou2012-11-201-0/+6
| | | | Patch by Serhiy Storchaka.
* #7782: add a test for test_iter.Ezio Melotti2012-11-181-0/+15
|
* #16306: Fix multiple error messages when unknown command line parameters ↵Ezio Melotti2012-11-181-1/+8
| | | | where passed to the interpreter. Patch by Hieu Nguyen.
* #14313: zipfile now raises NotImplementedError when the compression type is ↵Ezio Melotti2012-11-182-0/+39
| | | | unknown.
* Issue #16408: Fix file descriptors not being closed in error conditions in ↵Antoine Pitrou2012-11-171-222/+205
| | | | | | the zipfile module. Patch by Serhiy Storchaka.
* Closes #16461: Wave library should be able to deal with 4GB wav files, and ↵Jesus Cea2012-11-171-6/+6
| | | | sample rate of 44100 Hz.
* #16478: use floor division in tabnanny and fix a ResourceWarning. Patch by ↵Ezio Melotti2012-11-161-8/+11
| | | | Serhiy Storchaka.
* don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)Philip Jenvey2012-11-141-5/+9
|
* add gc_collects to weakref testsPhilip Jenvey2012-11-131-0/+3
|
* Merge headsAntoine Pitrou2012-11-111-19/+18
|\
| * Refactor test_preexec_errpipe to not create an uncollectable reference cycle.Gregory P. Smith2012-11-111-19/+18
| |
* | Issue #16453: Fix equality testing of dead weakref objects.Antoine Pitrou2012-11-111-21/+84
|/ | | | Also add tests for ordering and hashing.
* Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵Nadeem Vawda2012-11-111-3/+4
| | | | | | mean 'no compression'. Patch by Brian Brazil.
* Fixes issue #16140: The subprocess module no longer double closes itsGregory P. Smith2012-11-112-3/+38
| | | | | | | | | child subprocess.PIPE parent file descriptors on child error prior to exec(). This would lead to race conditions in multithreaded programs where another thread opened a file reusing the fd which was then closed out from beneath it by the errant second close.
* Remove the subprocess "bad exception data" warning (formerly a print!)Gregory P. Smith2012-11-111-3/+2
| | | | | | | | all together and just include the repr of the data in the exception itself instead of the useless string "Unknown". This code path is unlikely to even be possible to take given the nature of the pipe it gets subprocess data from.
* Rename a local variable for readability and change a "this can'tGregory P. Smith2012-11-111-6/+8
| | | | | happen" print() call into a RuntimeWarning as it should've been in the first place. Because nothing should ever cause unexpected stdout output.
* Fixes issue #16327: The subprocess module no longer leaks file descriptorsGregory P. Smith2012-11-112-3/+50
| | | | used for stdin/stdout/stderr pipes to the child when fork() fails.
* Fixes issue #14396: Handle the odd rare case of waitpid returning 0 whenGregory P. Smith2012-11-111-2/+6
| | | | not expected in subprocess.Popen.wait().
* Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵Nadeem Vawda2012-11-111-0/+12
| | | | | | access previously-freed memory. Patch by Serhiy Storchaka.