Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (Merge 3.2) Issue #12133: fix a ResourceWarning in urllib.request | Victor Stinner | 2011-06-17 | 3 | -0/+9 |
|\ | | | | | | | | | | | AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti. | ||||
| * | Issue #12133: fix a ResourceWarning in urllib.request | Victor Stinner | 2011-06-17 | 3 | -0/+9 |
| | | | | | | | | | | | | AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti. | ||||
* | | Issue #12333: run tests on the new module in a subprocess | Victor Stinner | 2011-06-17 | 1 | -24/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | It is not possible to unload a module written in C, so use a subprocess to run the tests on the module compiled by test_build_ext(). Using a subprocess, we don't have to unload the module, save/restore sys.path, and the test can be run more than once. This commit fixes also an access error on rmtree() on Windows: because the module was not really unloaded, it was not possible to remove the temporary directory (it is not possible to remove a directory on Windows if it still contains an open file). | ||||
* | | Issue #12333: close files before removing the directory | Victor Stinner | 2011-06-17 | 1 | -3/+2 |
| | | | | | | | | | | packaging.tests.support.TempdirManager: rmtree() fails on Windows if there are still open files in the directory. | ||||
* | | (Merge 3.2) Issue #12310: finalize the old process after _run_after_forkers() | Victor Stinner | 2011-06-17 | 1 | -2/+8 |
|\ \ | |/ | | | | | | | | | | | | | | | multiprocessing: Process._bootstrap() keeps a reference to the old process to delay its finalization until after _run_after_forkers() as been executed. This change should fix a crash on Mac OS X Tiger when a lock is released after a fork. Patch written by Charles-François Nataliv and Antoine Pitrou. | ||||
| * | Issue #12310: finalize the old process after _run_after_forkers() | Victor Stinner | 2011-06-17 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | | | | multiprocessing: Process._bootstrap() keeps a reference to the old process to delay its finalization until after _run_after_forkers() as been executed. This change should fix a crash on Mac OS X Tiger when a lock is released after a fork. Patch written by Charles-François Nataliv and Antoine Pitrou. | ||||
* | | Issue #12333: restore the previous dir before removing the current directory | Victor Stinner | 2011-06-17 | 1 | -8/+5 |
| | | | | | | | | | | | | | | packaging.tests.support.TempdirManager: removing the current directory is not allowed on Windows or Solaris. Store the current directory and restore it before removing the temporary directory (which is used as the working directory during the tests). | ||||
* | | merge heads | Benjamin Peterson | 2011-06-16 | 0 | -0/+0 |
|\ \ | |||||
| * \ | Fix typo. | Raymond Hettinger | 2011-06-16 | 1 | -1/+1 |
| |\ \ | |||||
* | \ \ | merge 3.2 | Benjamin Peterson | 2011-06-16 | 1 | -1/+1 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | merge heads | Benjamin Peterson | 2011-06-16 | 1 | -1/+1 |
| |\ \ \ | | | |/ | | |/| | |||||
| | * | | Fix typo. | Raymond Hettinger | 2011-06-16 | 1 | -1/+1 |
| | | | | |||||
* | | | | merge 3.2 | Benjamin Peterson | 2011-06-16 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | |||||
| * | | update link to pycrypto (closes #12351) | Benjamin Peterson | 2011-06-16 | 1 | -1/+1 |
| |/ | |||||
* | | Issue #12167: Fix a reafleak in packaging.tests.PyPIServer constructor | Victor Stinner | 2011-06-15 | 1 | -1/+3 |
| | | | | | | | | Don't modify mutable default arguments... | ||||
* | | Merge wording change from 3.2 | Éric Araujo | 2011-06-15 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Minor wording improvement | Éric Araujo | 2011-06-15 | 1 | -2/+2 |
| | | |||||
* | | Make sure all the Lib/packaging subdirectories get installed. | Barry Warsaw | 2011-06-14 | 1 | -2/+54 |
| | | |||||
* | | Fix markup. | Georg Brandl | 2011-06-14 | 1 | -11/+11 |
| | | |||||
* | | Merge 3.2 - update to the fix for #12084 | Brian Curtin | 2011-06-14 | 1 | -10/+11 |
|\ \ | |/ | |||||
| * | Correct completely broken os.stat behavior on Windows XP. | Brian Curtin | 2011-06-14 | 1 | -10/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | After 1a3e8db28d49, Windows XP could not os.stat at all due to raising immediately when GetFinalPathNameByHandle wasn't available (pre-Vista). The proper behavior in that situation is to just not attempt a traversal rather than outright rejecting. This change additionally handles a failed malloc by setting the error code and returning false. Patch by Hirokazu Yamamoto. | ||||
| * | branch merge? | Brian Curtin | 2011-06-13 | 27 | -80/+303 |
| |\ | |||||
* | \ | branch merge | Brian Curtin | 2011-06-13 | 4 | -96/+191 |
|\ \ \ | |||||
| * \ \ | Merge from 3.2 for Issue #12084. | Brian Curtin | 2011-06-13 | 4 | -96/+191 |
| |\ \ \ | | |/ / | |||||
| | * | | Fix #12084. os.stat on Windows wasn't working properly with relative symlinks. | Brian Curtin | 2011-06-13 | 4 | -97/+192 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use of DeviceIoControl to obtain the symlink path via the reparse tag was removed. The code now uses GetFinalPathNameByHandle in the case of a symbolic link and works properly given the added test which creates a symbolic link and calls os.stat on it from multiple locations. Victor Stinner also noticed an issue with os.lstat following the os.stat code path when being passed bytes. The posix_lstat function was adjusted to properly hook up win32_lstat instead of the previous STAT macro (win32_stat). | ||||
* | | | | Issue #12316: Fix sigwait() test using threads | Victor Stinner | 2011-06-13 | 1 | -29/+41 |
| | | | | | | | | | | | | | | | | | | | | Spawn a new process instead of using fork(). Patch written by Charles-François Natali. | ||||
* | | | | Also specify encoding when reading setup.cfg (#12320) | Éric Araujo | 2011-06-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | Specify the encoding of the setup.cfg in one packaging test (#12320) | Éric Araujo | 2011-06-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merged documentation update for Formatter.formatTime. | Vinay Sajip | 2011-06-12 | 1 | -0/+8 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Updated Formatter.formatTime documentation. | Vinay Sajip | 2011-06-12 | 1 | -0/+7 |
| | | | | |||||
* | | | | Merged documentation update for issue #12206. | Vinay Sajip | 2011-06-11 | 1 | -0/+3 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #12206: documentation for LogRecord constructor updated re. the level ↵ | Vinay Sajip | 2011-06-11 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | argument. | ||||
* | | | | quaint and completely out of date comment | Benjamin Peterson | 2011-06-11 | 1 | -3/+2 |
| | | | | |||||
* | | | | allow __dir__ to return any sequence | Benjamin Peterson | 2011-06-11 | 4 | -32/+29 |
| | | | | |||||
* | | | | merge 3.2 (#9284) | Benjamin Peterson | 2011-06-11 | 3 | -2/+26 |
|\ \ \ \ | |/ / / | |||||
| * | | | allow "fake" filenames in findsource (closes #9284) | Benjamin Peterson | 2011-06-11 | 3 | -2/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | This allows findsource() to work in doctests. A patch from Dirkjan Ochtman. | ||||
* | | | | Merge minor doc change from 3.2 | Éric Araujo | 2011-06-11 | 1 | -0/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | Add missing reST target to one heading in the tutorial | Éric Araujo | 2011-06-11 | 1 | -0/+2 |
| | | | | |||||
* | | | | Branch merge | Éric Araujo | 2011-06-11 | 8 | -77/+156 |
|\ \ \ \ | |||||
| * | | | | Adjust logging in packaging.util.spawn (related to #11599) | Éric Araujo | 2011-06-11 | 1 | -2/+3 |
| | | | | | |||||
| * | | | | Use correct directive to document one method | Éric Araujo | 2011-06-11 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Allow multiple setup hooks in packaging’s setup.cfg files (#12240). | Éric Araujo | 2011-06-10 | 5 | -31/+61 |
| | | | | | | | | | | | | | | | | | | | | Original patch by Erik Bray. | ||||
| * | | | | setup.cfg: Document that description-file can contain more than one file | Éric Araujo | 2011-06-10 | 3 | -9/+7 |
| | | | | | |||||
| * | | | | Fix assorted bugs in packaging.util.cfg_to_args (#11595). | Éric Araujo | 2011-06-10 | 4 | -17/+67 |
| | | | | | | | | | | | | | | | | | | | | Original patch by Erik Bray. | ||||
| * | | | | Move useful function to packaging.util. | Éric Araujo | 2011-06-10 | 2 | -18/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Original patch by Erik Bray as part of #11595, changed by me to improve readability. | ||||
* | | | | | Issue #12287: In ossaudiodev, check that the device isn't closed in several | Charles-François Natali | 2011-06-11 | 3 | -0/+110 |
| | | | | | | | | | | | | | | | | | | | | methods. | ||||
* | | | | | merge 3.2 | Benjamin Peterson | 2011-06-11 | 0 | -0/+0 |
|\ \ \ \ \ | | |/ / / | |/| | | | |||||
| * | | | | merge 3.1 | Benjamin Peterson | 2011-06-11 | 0 | -0/+0 |
| |\ \ \ \ | |||||
| | * | | | | onto 3.1.5 | Benjamin Peterson | 2011-06-11 | 2 | -1/+13 |
| | | | | | | |||||
* | | | | | | merge 3.2 | Benjamin Peterson | 2011-06-11 | 1 | -0/+1 |
|\ \ \ \ \ \ | |/ / / / / |