Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #15079: make a test applicable to both C and Python versions of the ↵ | Antoine Pitrou | 2012-06-26 | 1 | -3/+5 |
|\ | | | | | | | | | | | pickle module. Patch by Stefan Mihaila. | ||||
| * | Issue #15079: make a test applicable to both C and Python versions of the ↵ | Antoine Pitrou | 2012-06-26 | 1 | -3/+5 |
| | | | | | | | | | | | | pickle module. Patch by Stefan Mihaila. | ||||
| * | Backport test_nntplib fixes from default. | Antoine Pitrou | 2012-06-25 | 1 | -2/+5 |
| | | |||||
* | | Use ValueError, not RuntimeError for a utime flag combination illegal on ↵ | Georg Brandl | 2012-06-26 | 1 | -1/+1 |
| | | | | | | | | some systems. | ||||
* | | Issue #15817: Bugfix: remove temporary directories test_shutil was leaving | Larry Hastings | 2012-06-26 | 1 | -0/+3 |
| | | | | | | | | behind. | ||||
* | | Issue #15177: Added dir_fd parameter to os.fwalk(). | Larry Hastings | 2012-06-25 | 1 | -5/+24 |
| | | |||||
* | | Skip test in freebsd entirely - Kernel bug in freebsd7/8/9 - #10142: Support ↵ | Jesus Cea | 2012-06-25 | 1 | -1/+1 |
| | | | | | | | | for SEEK_HOLE/SEEK_DATA | ||||
* | | Issue #15176: Clarified behavior, documentation, and implementation | Larry Hastings | 2012-06-25 | 1 | -8/+13 |
| | | | | | | | | of os.listdir(). | ||||
* | | #4489 Make fd based rmtree work on bytes | Hynek Schlawack | 2012-06-25 | 1 | -0/+9 |
| | | |||||
* | | Backout change e8f44ebacda7052267318cecf5b6f128d35add17. Reverting the test | Gregory P. Smith | 2012-06-25 | 1 | -5/+5 |
|\ \ | |/ | | | | | | | | | | | | | to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1). This is an attempt to see if this change is what caused the ubuntu arm buildbot to hang in test_io's test_interrupted_write_retry_text. Discussion in Issue #12268. | ||||
| * | Backout change e8f44ebacda7052267318cecf5b6f128d35add17. Reverting the test | Gregory P. Smith | 2012-06-25 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1). This is an attempt to see if this change is what caused the ubuntu arm buildbot to hang in test_io's test_interrupted_write_retry_text. Discussion in Issue #12268. | ||||
* | | Give test directory a more reasonable name. | Eric V. Smith | 2012-06-24 | 3 | -2/+4 |
| | | |||||
* | | Closes #15173: Tidied up copyright statements and removed pythonv references. | Vinay Sajip | 2012-06-24 | 1 | -5/+6 |
| | | |||||
* | | Fixes issue 15039: namespace packages are no longer imported in preference ↵ | Eric V. Smith | 2012-06-24 | 3 | -0/+9 |
| | | | | | | | | to modules of the same name. | ||||
* | | Issue #15164: Change return value of platform.uname() from a | Larry Hastings | 2012-06-24 | 2 | -3/+9 |
| | | | | | | | | plain tuple to a collections.namedtuple. | ||||
* | | #15156: HTMLParser now uses the new "html.entities.html5" dictionary. | Ezio Melotti | 2012-06-24 | 1 | -1/+6 |
| | | |||||
* | | Merge with 3.2. | Georg Brandl | 2012-06-24 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Refer test_xmlrpc_net to the new buildbot URL at buildbot.python.org. | Georg Brandl | 2012-06-24 | 1 | -1/+1 |
| | | |||||
* | | Branch merge | Éric Araujo | 2012-06-24 | 1 | -0/+4 |
|\ \ | |||||
| * | | Restore test that was using pysetup and can now (#15157) use pydoc | Éric Araujo | 2012-06-24 | 1 | -0/+4 |
| | | | |||||
* | | | Fix test__locale on Mac; platform.uname() does not have a structseq-type ↵ | Georg Brandl | 2012-06-24 | 1 | -1/+1 |
|/ / | | | | | | | interface (yet). | ||||
* | | Fix test to really run behind a NNTP virus checker | Antoine Pitrou | 2012-06-24 | 1 | -2/+5 |
| | | |||||
* | | Remove debug output from test_shutil | Hynek Schlawack | 2012-06-24 | 1 | -2/+0 |
| | | |||||
* | | Issue #15061: Re-implemented hmac.compare_digest() in C | Christian Heimes | 2012-06-24 | 1 | -5/+76 |
| | | |||||
* | | Issue #15118: Change return value of os.uname() and os.times() from | Larry Hastings | 2012-06-24 | 3 | -5/+4 |
| | | | | | | | | | | plain tuples to immutable iterable objects with named attributes (structseq objects). | ||||
* | | Closes #15161: add support for giving path as a fd for truncate() and ↵ | Georg Brandl | 2012-06-24 | 1 | -0/+2 |
| | | | | | | | | pathconf(). | ||||
* | | In random's test_seedargs: Make sure to include at least one seed object ↵ | Mark Dickinson | 2012-06-24 | 1 | -1/+5 |
| | | | | | | | | with a negative hash. | ||||
* | | #15160: Extend the new email parser to handle MIME headers. | R David Murray | 2012-06-24 | 3 | -15/+905 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code passes all the same tests that the existing RFC mime header parser passes, plus a bunch of additional ones. There are a couple of commented out tests where there are issues with the folding. The folding doesn't normally get invoked for headers parsed from source, and the cases are marginal anyway (headers with invalid binary data) so I'm not worried about them, but will fix them after the beta. There are things that can be done to make this API even more convenient, but I think this is a solid foundation worth having. And the parser is a full RFC parser, so it handles cases that the current parser doesn't. (There are also probably cases where it fails when the current parser doesn't, but I haven't found them yet ;) Oh, yeah, and there are some really ugly bits in the parser for handling some 'postel' cases that are unfortunately common. I hope/plan to to eventually refactor a lot of the code in the parser which should reduce the line count...but there is no escaping the fact that the error recovery is welter of special cases. | ||||
* | | Fix whitespace | Hynek Schlawack | 2012-06-24 | 1 | -3/+3 |
| | | |||||
* | | Packaging removal: also revert introduction of sysconfig.cfg. | Éric Araujo | 2012-06-24 | 2 | -17/+16 |
| | | | | | | | | | | | | | | We need a discussion to define what should be customized how; this new config file is premature. It was added to serve the needs of the resources system in install_data / packaging.database, so it can be removed alongside packaging for 3.3. | ||||
* | | merge heads | Gregory P. Smith | 2012-06-24 | 1 | -2/+2 |
|\ \ | |||||
| * | | Issue #4489: Rename the feature marker for the symlink resistant rmtree and ↵ | Nick Coghlan | 2012-06-24 | 1 | -2/+2 |
| | | | | | | | | | | | | store it as a function attribute | ||||
* | | | Fixes issue #12268: File readline, readlines and read() or readall() methods | Gregory P. Smith | 2012-06-24 | 2 | -5/+241 |
|\ \ \ | |/ / |/| / | |/ | | | | | no longer lose data when an underlying read system call is interrupted. IOError is no longer raised due to a read system call returning EINTR from within these methods. | ||||
| * | Fixes issue #12268: File readline, readlines and read() or readall() methods | Gregory P. Smith | 2012-06-24 | 1 | -0/+236 |
| | | | | | | | | | | | | no longer lose data when an underlying read system call is interrupted. IOError is no longer raised due to a read system call returning EINTR from within these methods. | ||||
| * | Speed up test_io by >2x by reducing the sleep time using setitimer instead of | Gregory P. Smith | 2012-06-24 | 1 | -5/+5 |
| | | | | | | | | alarm for the signal tests. | ||||
* | | Remove packaging from the standard library. | Éric Araujo | 2012-06-24 | 3 | -50/+0 |
| | | | | | | | | | | | | Distutils2 will live on on PyPI and be included in the stdlib when it is ready. See discussion starting at http://mail.python.org/pipermail/python-dev/2012-June/120430.html | ||||
* | | Issue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir" | Larry Hastings | 2012-06-23 | 1 | -1/+4 |
| | | | | | | | | | | | | | | parameter from os.remove / os.unlink. Patch written by Georg Brandl. (I'm really looking forward to George getting commit privileges so I don't have to keep doing checkins on his behalf.) | ||||
* | | Errors in "client" methods in test_socket were ignored because of a bogus ↵ | Antoine Pitrou | 2012-06-23 | 1 | -1/+2 |
| | | | | | | | | | | | | except clause. (this could reveal test failures!) | ||||
* | | Lower test-skipping threshold in test_reprlib | Antoine Pitrou | 2012-06-23 | 1 | -1/+1 |
| | | |||||
* | | 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 | 1 | -2/+21 |
| | | | | | | | | | | | | | | | | 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 | 1 | -18/+45 |
| | | | | | | | | | | 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 |
| | | |||||
* | | #15114: the strict mode of HTMLParser and the HTMLParseError exception are ↵ | Ezio Melotti | 2012-06-23 | 1 | -2/+4 |
| | | | | | | | | 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 | 1 | -15/+83 |
| | | | | | | | | Patch by Serhiy Storchaka. |