summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* provide a common method to check for RETR_DATA validity, first checking the ↵Giampaolo Rodola'2012-01-091-8/+10
| | | | expected len and then the actual data content; this way we get a failure on len mismatch rather than content mismatch (which is very long and unreadable)
* Make the docstring style consistent.Raymond Hettinger2012-01-091-24/+23
|
* Improve clarity with keyword argument for block. Move nowait methods together.Raymond Hettinger2012-01-091-9/+9
|
* Minor code clean-ups and beautifications.Raymond Hettinger2012-01-091-17/+17
|
* Issue #13739: In os.listdir(), rewind the directory stream (so that listdir()Charles-François Natali2012-01-081-2/+10
| | | | can be called again on the same open file).
* Merge with 3.2 for #12364.Ross Lagerwall2012-01-082-3/+6
|\
| * Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.Ross Lagerwall2012-01-082-6/+7
| |
* | Simplify the code using with-statements.Raymond Hettinger2012-01-071-28/+14
| |
* | Closes #13732: now use os.linesep instead of a literal newline.Vinay Sajip2012-01-071-3/+4
| |
* | Issue #13502: threading: Fix a race condition in Event.wait() that made itCharles-François Natali2012-01-072-3/+20
|\ \ | |/ | | | | return False when the event was set and cleared right after.
| * Issue #13502: threading: Fix a race condition in Event.wait() that made itCharles-François Natali2012-01-072-3/+20
| | | | | | | | return False when the event was set and cleared right after.
* | Issue #9993: When the source and destination are on different filesystems,Antoine Pitrou2012-01-062-2/+52
| | | | | | | | | | | | and the source is a symlink, shutil.move() now recreates a symlink on the destination instead of copying the file contents. Patch by Jonathan Niehof and Hynek Schlawack.
* | Merge from 3.2: Issue #12926: Fix a bug in tarfile's link extraction.Lars Gustäbel2012-01-051-6/+0
|\ \ | |/ | | | | | | | | | | | | On platforms that do not support (symbolic) links, tarfile offers a work-around and extracts a link in an archive as the regular file the link is pointing to. On other platforms, this code was accidentally executed even after the link had been successfully extracted which failed due to the already existing link.
| * Issue #12926: Fix a bug in tarfile's link extraction.Lars Gustäbel2012-01-051-6/+0
| | | | | | | | | | | | | | | | On platforms that do not support (symbolic) links, tarfile offers a work-around and extracts a link in an archive as the regular file the link is pointing to. On other platforms, this code was accidentally executed even after the link had been successfully extracted which failed due to the already existing link.
| * Closes #13699. Skipped two tests if Python is optimised.Vinay Sajip2012-01-051-0/+4
| |
* | Issue #13713: fix a regression in HTTP chunked reading after 806cfe39f729Antoine Pitrou2012-01-042-17/+51
| | | | | | | | (originally issue #13464: Add a readinto() method to http.client.HTTPResponse)
* | convince regrtest.py we aren't modifying _CONFIG_VARSBenjamin Peterson2012-01-041-2/+3
| |
* | Closes #13699. Skipped two tests if Python is optimised.Vinay Sajip2012-01-041-0/+4
| |
* | Refactored logging rotating handlers for improved flexibility.Vinay Sajip2012-01-042-17/+106
| |
* | merge from 3.2Senthil Kumaran2012-01-042-2/+15
|\ \ | |/
| * Issue13696 - Fix 302 Redirection for Relative urls.Senthil Kumaran2012-01-042-2/+15
| |
* | merge 3.2Benjamin Peterson2012-01-031-4/+4
|\ \ | |/
| * merge 3.1Benjamin Peterson2012-01-031-4/+4
| |\
| | * fix this to not depend on dictionary orderBenjamin Peterson2012-01-031-4/+4
| | |
* | | Issue #13636: Weak ciphers are now disabled by default in the ssl moduleAntoine Pitrou2012-01-032-3/+32
|\ \ \ | |/ / | | | | | | (except when SSLv2 is explicitly asked for).
| * | Issue #13636: Weak ciphers are now disabled by default in the ssl moduleAntoine Pitrou2012-01-032-3/+31
| | | | | | | | | | | | (except when SSLv2 is explicitly asked for).
* | | use io.SEEK_* constants instead of os.SEEK_* where an IO stream is seeked, ↵Eli Bendersky2012-01-032-6/+8
| | | | | | | | | | | | leaving the os.SEEK_* constants only for os.lseek, as documented
* | | Mock the rename failure a bit betterAntoine Pitrou2012-01-021-1/+2
| | |
* | | Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch byCharles-François Natali2012-01-021-0/+7
|\ \ \ | |/ / | | | | | | Vilmos Nebehaj.
| * | Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch byCharles-François Natali2012-01-021-0/+7
| | | | | | | | | | | | Vilmos Nebehaj.
* | | merge with 3.2Sandro Tosi2012-01-012-17/+41
|\ \ \ | |/ /
| * | Issue #13594: various fixes to aifc module; patch by Oleg PlakhotnyukSandro Tosi2012-01-012-17/+41
| | |
* | | Issue #13640: add application/vnd.apple.mpegurl MIME type; (partial) patch ↵Sandro Tosi2012-01-011-0/+2
| | | | | | | | | | | | by Hiroaki Kawai
* | | merge with 3.2Sandro Tosi2012-01-012-10/+13
|\ \ \ | |/ /
| * | Issue #13680: add lowecase compression type to write header; patch by Oleg ↵Sandro Tosi2012-01-012-10/+13
| | | | | | | | | | | | Plakhotnyuk
* | | Fix no-op tests in importlib.Antoine Pitrou2011-12-301-0/+4
|\ \ \ | |/ /
| * | Fix no-op tests in importlib.Antoine Pitrou2011-12-301-0/+4
| | |
* | | Issue #12715: Add an optional symlinks argument to shutil functions ↵Antoine Pitrou2011-12-292-26/+294
| | | | | | | | | | | | | | | | | | | | | | | | | | | (copyfile, copymode, copystat, copy, copy2). When that parameter is true, symlinks aren't dereferenced and the operation instead acts on the symlink itself (or creates one, if relevant). Patch by Hynek Schlawack.
* | | Limit test scope to those platforms that can save the target filenames. ↵Jason R. Coombs2011-12-281-0/+17
| | | | | | | | | | | | Reference #11638.
* | | don't fail if CLOEXEC doesn't existBenjamin Peterson2011-12-271-2/+3
| | |
* | | merge 3.2Benjamin Peterson2011-12-271-0/+1
|\ \ \ | |/ /
| * | propgate error in other conditionsBenjamin Peterson2011-12-271-0/+1
| | |
* | | add a flags parameter to select.epollBenjamin Peterson2011-12-271-0/+2
| | |
* | | Ported some test cases from 2.7 for #11638Jason R. Coombs2011-12-261-2/+21
| | |
* | | Issue #13565: Increase multiprocessing's server socket backlog, to avoidCharles-François Natali2011-12-231-1/+1
|\ \ \ | |/ / | | | | | | dropped connections in case of simultaneous connection requests.
| * | Issue #13565: Increase multiprocessing's server socket backlog, to avoidCharles-François Natali2011-12-231-1/+1
| | | | | | | | | | | | dropped connections in case of simultaneous connection requests.
* | | Issue #13577: Built-in methods and functions now have a __qualname__.Antoine Pitrou2011-12-231-1/+27
| | | | | | | | | | | | Patch by sbt.
* | | merge from 3.2. Minor code style improvements in http.server suggested in ↵Senthil Kumaran2011-12-231-6/+3
|\ \ \ | |/ / | | | | | | Issue13294.
| * | Minor code style improvements in http.server suggested in Issue13294.Senthil Kumaran2011-12-231-6/+3
| | |
* | | Forgot the data file for Diffie-Hellman tests.Antoine Pitrou2011-12-221-0/+9
| | |