summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix #444582. Add shutil.which function for finding programs on the system path.Brian Curtin2012-06-222-2/+93
|
* mergeAlexander Belopolsky2012-06-221-19/+21
|\
| * Issue #14769: Incorporated mildly pedantic feedback from python-dev.Larry Hastings2012-06-221-19/+21
| | | | | | | | | | Mostly documentation changes; the code changes are clarifications, not semantic changes.
* | Issue #9527: tm_gmtoff has 'correct' sign.Alexander Belopolsky2012-06-222-5/+7
|/
* MergeAntoine Pitrou2012-06-221-0/+6
|\
| * Issue #14785: Add sys._debugmallocstats() to help debug low-level memory ↵David Malcolm2012-06-221-0/+6
| | | | | | | | allocation issues
* | Issue #14837: SSL errors now have `library` and `reason` attributes ↵Antoine Pitrou2012-06-221-2/+43
|/ | | | | | | | | | | | | | | | | | | | describing precisely what happened and in which OpenSSL submodule. The str() of a SSLError is also enhanced accordingly. NOTE: this commit creates a reference leak. The leak seems tied to the use of PyType_FromSpec() to create the SSLError type. The leak is on the type object when it is instantiated: >>> e = ssl.SSLError() >>> sys.getrefcount(ssl.SSLError) 35 >>> e = ssl.SSLError() >>> sys.getrefcount(ssl.SSLError) 36 >>> e = ssl.SSLError() >>> sys.getrefcount(ssl.SSLError) 37
* Closes #10142: Support for SEEK_HOLE/SEEK_DATAJesus Cea2012-06-224-9/+35
|
* Issue #9527: datetime.astimezone() method will now supply a classAlexander Belopolsky2012-06-222-4/+4
| | | | | timezone instance corresponding to the system local timezone when called with no arguments.
* Issue #9527: datetime.astimezone() method will now supply a classAlexander Belopolsky2012-06-222-5/+44
| | | | | timezone instance corresponding to the system local timezone when called with no arguments.
* Issue #14769: test_capi now has SkipitemTest, which cleverly checksLarry Hastings2012-06-221-1/+70
| | | | | for "parity" between PyArg_ParseTuple() and the Python/getargs.c static function skipitem() for all possible "format units".
* Issue #14653: email.utils.mktime_tz() no longer relies on systemAlexander Belopolsky2012-06-222-4/+10
|\ | | | | | | mktime() when timezone offest is supplied.
| * Issue #14653: email.utils.mktime_tz() no longer relies on systemAlexander Belopolsky2012-06-222-4/+10
| | | | | | | | mktime() when timezone offest is supplied.
* | Tidy up comments from dd4f7d5c51c7 (zlib compression dictionary support).Nadeem Vawda2012-06-211-7/+6
| |
* | Make lzma.{encode,decode}_filter_properties private.Nadeem Vawda2012-06-213-17/+17
| | | | | | | | | | | | | | | | These functions were originally added to support LZMA compression in the zipfile module, and are not of interest for the majority of users. They can be made public in 3.4 if there is user interest, but in the meanwhile, I've opted to present a smaller, simpler API for the module's initial release.
* | #10053: Don't close FDs when FileIO.__init__ failsHynek Schlawack2012-06-211-0/+11
|\ \ | |/ | | | | Loosely based on the work by Hirokazu Yamamoto.
| * #10053: Don't close FDs when FileIO.__init__ failsHynek Schlawack2012-06-211-0/+11
| | | | | | | | Loosely based on the work by Hirokazu Yamamoto.
* | Issue #14684: Add support for predefined compression dictionaries to the ↵Nadeem Vawda2012-06-211-0/+30
| | | | | | | | | | | | zlib module. Original patch by Sam Rushing.
* | Prefer assertEqual to simply assert per recommendation in issue6727.Jason R. Coombs2012-06-201-3/+8
| | | | | | | | Clarified comment on disabled code to reference issue15093.
* | Issue #15096: Drop support for the ur string prefixChristian Heimes2012-06-203-29/+14
| |
* | Fix GzipFile's handling of filenames given as bytes objects.Nadeem Vawda2012-06-194-4/+57
|\ \ | |/ | | | | Add relevant tests for GzipFile, and also for BZ2File and LZMAFile.
| * Fix GzipFile's handling of filenames given as bytes objects.Nadeem Vawda2012-06-192-4/+18
| |
* | Fix #14772: Return the destination from some shutil functions.Brian Curtin2012-06-182-3/+51
| |
* | Issue #15064: Make BaseManager.__enter__() start server if necessary.Richard Oudkerk2012-06-182-6/+23
| |
* | Issue #15064: Implement context manager protocol for multiprocessing typesRichard Oudkerk2012-06-184-1/+70
| |
* | Issue #15101: Make pool finalizer avoid joining current thread.Richard Oudkerk2012-06-181-3/+6
|\ \ | |/
| * Issue #15101: Make pool finalizer avoid joining current thread.Richard Oudkerk2012-06-181-3/+6
| |
* | Fiddle with timeouts in barrier testsRichard Oudkerk2012-06-181-6/+6
| |
* | Prevent test_inspect from keeping alive a ton of frames and local variables ↵Antoine Pitrou2012-06-172-13/+16
| | | | | | | | | | | | by way of a global variable keeping a reference to a traceback. Should fix some buildbot failures.
* | Issue #14657: The frozen instance of importlib used for bootstrap is now ↵Antoine Pitrou2012-06-172-9/+34
| | | | | | | | also the module imported as importlib._bootstrap.
* | Merge: Update out of date docstring.R David Murray2012-06-171-7/+5
|\ \ | |/
| * Update out of date docstring.R David Murray2012-06-171-7/+5
| |
* | Merge from 3.2 (Ignore X-Antivirus headers in test_nntplib)Nick Coghlan2012-06-171-1/+4
|\ \ | |/
| * Ignore X-Antivirus headers in test_nntplibNick Coghlan2012-06-171-1/+4
| |
* | Merge from 3.2 (Issue #15095: Use better assertions in test_imaplib)Nick Coghlan2012-06-171-5/+5
|\ \ | |/
| * Issue #15095: Use better assertions in test_imaplibNick Coghlan2012-06-171-5/+5
| |
* | Merge from 3.2 (Issue #15043: skip test_gdb if the custom hooks can't be loaded)Nick Coghlan2012-06-171-0/+9
|\ \ | |/
| * Issue #15043: skip test_gdb if the custom hooks can't be loadedNick Coghlan2012-06-171-0/+9
| |
* | Disable test on Unix. Causes buildbots to fail. See Issue #15091Jason R. Coombs2012-06-171-0/+4
| |
* | White space normalization.Martin v. Löwis2012-06-171-3/+3
| |
* | Issue #14055: Add __sizeof__ support to _elementtree.Martin v. Löwis2012-06-171-2/+37
| |
* | Adding test from issue6727 demonstrating that symlink import issue does not ↵Jason R. Coombs2012-06-171-0/+53
| | | | | | | | occur here in 3.3
* | Improve an internal ipaddress test, add a comment explaining why treating ↵Nick Coghlan2012-06-172-17/+31
| | | | | | | | networks as containers of interfaces rather than addresses would prove confusing
* | Issue #15054: Fix incorrect tokenization of 'b' string literals.Meador Inge2012-06-172-1/+77
| | | | | | | | Patch by Serhiy Storchaka.
* | Normalize whitespaceAntoine Pitrou2012-06-162-2/+0
| |
* | Issue #14874: Restore charmap decoding speed to pre-PEP 393 levels.Antoine Pitrou2012-06-168-426/+1079
| | | | | | | | Patch by Serhiy Storchaka.
* | Make the test more resilient to test-run order (closes #15075)Eli Bendersky2012-06-161-8/+20
| |
* | Fix "%f" format of str%args if the result is not an ASCII or latin1 stringVictor Stinner2012-06-161-0/+2
| |
* | Issue #15006: Allow equality comparison between naive and aware timeAlexander Belopolsky2012-06-162-14/+20
| | | | | | | | or datetime objects.
* | Issue #14938: importlib.abc.SourceLoader.is_package() now takes theBrett Cannon2012-06-162-3/+6
| | | | | | | | | | | | | | | | | | module name into consideration when determining whether a module is a package or not. This prevents importing a module's __init__ module directly and having it considered a package, which can lead to duplicate sub-modules. Thanks to Ronan Lamy for reporting the bug.