Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid depending on directory iteration order in test_shutil | Antoine Pitrou | 2012-06-23 | 1 | -6/+5 |
| | |||||
* | Add debug output to test_shutil | Antoine Pitrou | 2012-06-23 | 1 | -0/+2 |
| | |||||
* | Proper cleanup in test_shutil, even in case of error. | Antoine Pitrou | 2012-06-23 | 1 | -8/+6 |
| | |||||
* | #4489: Fix usage of fd-based functions to new api introduced earlier today | Hynek Schlawack | 2012-06-23 | 2 | -13/+33 |
| | | | | | | | | Also add an explicit test for safe implementation usage on supported platforms. As a side effect, this commit adds a module-level attribute 'rmtree_is_safe' which offers introspection whether the current rmtree implementation is safe against symlink attacks. | ||||
* | Properly test the various builtins lookup cases in inspect.getclosurevars | Nick Coghlan | 2012-06-23 | 1 | -0/+24 |
| | |||||
* | #4489: Add a shutil.rmtree that isn't suspectible to symlink attacks | Hynek Schlawack | 2012-06-23 | 2 | -36/+126 |
| | | | | | It is used automatically on platforms supporting the necessary os.openat() and os.unlinkat() functions. Main code by Martin von Löwis. | ||||
* | Use non-deprecated speling. | Antoine Pitrou | 2012-06-23 | 1 | -44/+44 |
| | |||||
* | Properly cleanup pep3147 modules in test_import | Antoine Pitrou | 2012-06-23 | 1 | -4/+4 |
| | |||||
* | Try to further debug occasional buildbot failure | Antoine Pitrou | 2012-06-23 | 1 | -0/+6 |
| | |||||
* | On behalf of Nadeem Vawda: issue #10376: micro-optimize reading from a Zipfile. | Antoine Pitrou | 2012-06-23 | 1 | -8/+10 |
| | | | | (patch by Serhiy) | ||||
* | #15114: the strict mode of HTMLParser and the HTMLParseError exception are ↵ | Ezio Melotti | 2012-06-23 | 2 | -11/+16 |
| | | | | deprecated now that the parser is able to parse invalid markup. | ||||
* | Issue #3665: \u and \U escapes are now supported in unicode regular expressions. | Antoine Pitrou | 2012-06-23 | 2 | -32/+132 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | Close #15153: Added inspect.getgeneratorlocals to simplify whitebox testing ↵ | Nick Coghlan | 2012-06-23 | 2 | -0/+64 |
| | | | | of generator state updates | ||||
* | Close #13062: Add inspect.getclosurevars to simplify testing stateful closures | Nick Coghlan | 2012-06-23 | 2 | -1/+154 |
| | |||||
* | Issue #14742: test_unparse now only checks a limited number of files unless ↵ | Mark Dickinson | 2012-06-23 | 1 | -0/+1 |
| | | | | the 'cpu' resource is specified. | ||||
* | Fix #15148. Capitalize PATH, hopefully leading to less confusion | Brian Curtin | 2012-06-23 | 1 | -1/+1 |
| | |||||
* | Fix #15148. Make the shutil.which docstring more thorough | Brian Curtin | 2012-06-23 | 1 | -1/+3 |
| | |||||
* | Issue #14626: Fix buildbot issue on OpenIndiana 3.x machines. (Hopefully.) | Larry Hastings | 2012-06-23 | 1 | -10/+21 |
| | |||||
* | file was the old arg name from an earlier patch. command matches the ↵ | Brian Curtin | 2012-06-23 | 1 | -2/+2 |
| | | | | implementation | ||||
* | Issue #15148: Fixed typos in shutil.which() docstring | Alexander Belopolsky | 2012-06-23 | 1 | -1/+1 |
| | |||||
* | fixed whitespace | Alexander Belopolsky | 2012-06-23 | 1 | -1/+1 |
| | |||||
* | Issues #11024: Fixes and additional tests for Time2Internaldate. | Alexander Belopolsky | 2012-06-23 | 2 | -28/+51 |
| | |||||
* | Skip the test only if neccesary - Kernel bug in freebsd9 - #10142: Support ↵ | Jesus Cea | 2012-06-23 | 1 | -2/+2 |
| | | | | for SEEK_HOLE/SEEK_DATA | ||||
* | Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA | Jesus Cea | 2012-06-23 | 1 | -0/+3 |
| | |||||
* | A better repr() for FileFinder | Antoine Pitrou | 2012-06-23 | 1 | -0/+2 |
| | |||||
* | Issue #14626: Fix buildbot issues on FreeBSD (AMD64). (Fingers crossed.) | Larry Hastings | 2012-06-23 | 2 | -2/+7 |
| | |||||
* | Issue #14626: Large refactoring of functions / parameters in the os module. | Larry Hastings | 2012-06-22 | 6 | -248/+340 |
| | | | | | | | | | Many functions now support "dir_fd" and "follow_symlinks" parameters; some also support accepting an open file descriptor in place of of a path string. Added os.support_* collections as LBYL helpers. Removed many functions only previously seen in 3.3 alpha releases (often starting with "f" or "l", or ending with "at"). Originally suggested by Serhiy Storchaka; implemented by Larry Hastings. | ||||
* | Fix silly mistake in debugging code | Antoine Pitrou | 2012-06-22 | 1 | -1/+1 |
| | |||||
* | Issue #15008: Implement PEP 362 "Signature Objects". | Larry Hastings | 2012-06-22 | 2 | -4/+1694 |
| | | | | Patch by Yury Selivanov. | ||||
* | Merge | Guido van Rossum | 2012-06-22 | 8 | -29/+182 |
|\ | |||||
| * | Add debug output for temporary buildbot failures | Antoine Pitrou | 2012-06-22 | 1 | -1/+3 |
| | | |||||
| * | Issue #444582: shutil.which() respects relative paths. | Antoine Pitrou | 2012-06-22 | 2 | -1/+11 |
| | | |||||
| * | whitespace normalize | Brian Curtin | 2012-06-22 | 1 | -1/+0 |
| | | |||||
| * | Fix #444582. Add shutil.which function for finding programs on the system path. | Brian Curtin | 2012-06-22 | 2 | -2/+93 |
| | | |||||
| * | merge | Alexander Belopolsky | 2012-06-22 | 1 | -19/+21 |
| |\ | |||||
| | * | Issue #14769: Incorporated mildly pedantic feedback from python-dev. | Larry Hastings | 2012-06-22 | 1 | -19/+21 |
| | | | | | | | | | | | | | | | Mostly documentation changes; the code changes are clarifications, not semantic changes. | ||||
| * | | Issue #9527: tm_gmtoff has 'correct' sign. | Alexander Belopolsky | 2012-06-22 | 2 | -5/+7 |
| |/ | |||||
| * | Merge | Antoine Pitrou | 2012-06-22 | 1 | -0/+6 |
| |\ | |||||
| | * | Issue #14785: Add sys._debugmallocstats() to help debug low-level memory ↵ | David Malcolm | 2012-06-22 | 1 | -0/+6 |
| | | | | | | | | | | | | allocation issues | ||||
| * | | Issue #14837: SSL errors now have `library` and `reason` attributes ↵ | Antoine Pitrou | 2012-06-22 | 1 | -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 | ||||
* | | Speed up base64.urlsafe_{en,de}code(). | Guido van Rossum | 2012-06-22 | 1 | -13/+11 |
|/ | |||||
* | Closes #10142: Support for SEEK_HOLE/SEEK_DATA | Jesus Cea | 2012-06-22 | 4 | -9/+35 |
| | |||||
* | Issue #9527: datetime.astimezone() method will now supply a class | Alexander Belopolsky | 2012-06-22 | 2 | -4/+4 |
| | | | | | timezone instance corresponding to the system local timezone when called with no arguments. | ||||
* | Issue #9527: datetime.astimezone() method will now supply a class | Alexander Belopolsky | 2012-06-22 | 2 | -5/+44 |
| | | | | | timezone instance corresponding to the system local timezone when called with no arguments. | ||||
* | Issue #14769: test_capi now has SkipitemTest, which cleverly checks | Larry Hastings | 2012-06-22 | 1 | -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 system | Alexander Belopolsky | 2012-06-22 | 2 | -4/+10 |
|\ | | | | | | | mktime() when timezone offest is supplied. | ||||
| * | Issue #14653: email.utils.mktime_tz() no longer relies on system | Alexander Belopolsky | 2012-06-22 | 2 | -4/+10 |
| | | | | | | | | mktime() when timezone offest is supplied. | ||||
* | | Tidy up comments from dd4f7d5c51c7 (zlib compression dictionary support). | Nadeem Vawda | 2012-06-21 | 1 | -7/+6 |
| | | |||||
* | | Make lzma.{encode,decode}_filter_properties private. | Nadeem Vawda | 2012-06-21 | 3 | -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__ fails | Hynek Schlawack | 2012-06-21 | 1 | -0/+11 |
|\ \ | |/ | | | | | Loosely based on the work by Hirokazu Yamamoto. |