summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Use ValueError, not RuntimeError for a utime flag combination illegal on ↵Georg Brandl2012-06-261-1/+1
| | | | some systems.
* Update suspicious ignore file and pydoc topics.Georg Brandl2012-06-261-5/+5
|
* Issue #15817: Bugfix: remove temporary directories test_shutil was leavingLarry Hastings2012-06-261-0/+3
| | | | behind.
* Closes #15179: Merged fix from 3.2.Vinay Sajip2012-06-251-1/+5
|\
| * Issue #15179: Closed socket on connection failure. Thanks to Kazutaka Morita ↵Vinay Sajip2012-06-251-1/+5
| | | | | | | | for the patch.
| * Backport test_nntplib fixes from default.Antoine Pitrou2012-06-251-2/+5
| |
* | Issue #14443: ensure that brp-python-bytecompile is invoked with the correctDavid Malcolm2012-06-251-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python executable The __os_install_macro defines some post-processing activities during an rpm build; one of the scripts it calls is brp-python-bytecompile, which can take an argument: the python executable with which to byte-compile .py files in the package payload. In some older versions of rpm (e.g. in RHEL 6), this invocation doesn't pass in an argument, and brp-python-bytecompile defaults to using /usr/bin/python, which can lead to the .py files being byte-compiled for the wrong version of python. This has been fixed in later versions of rpm by passing in %{__python} as an argument to brp-python-bytecompile. Workaround this by detecting if __os_install_post has a 0-argument invocation of brp-python-bytecompile, and if so generating an equivalent macro that has the argument, and explicitly provide the new definition within the specfile.
* | Issue #15177: Added dir_fd parameter to os.fwalk().Larry Hastings2012-06-252-12/+35
| |
* | Skip test in freebsd entirely - Kernel bug in freebsd7/8/9 - #10142: Support ↵Jesus Cea2012-06-251-1/+1
| | | | | | | | for SEEK_HOLE/SEEK_DATA
* | Issue #15176: Clarified behavior, documentation, and implementationLarry Hastings2012-06-251-8/+13
| | | | | | | | of os.listdir().
* | #4489 Make fd based rmtree work on bytesHynek Schlawack2012-06-252-0/+12
| |
* | Backout change e8f44ebacda7052267318cecf5b6f128d35add17. Reverting the testGregory P. Smith2012-06-251-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 testGregory P. Smith2012-06-251-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. Smith2012-06-243-2/+4
| |
* | Closes #15173: Tidied up copyright statements and removed pythonv references.Vinay Sajip2012-06-243-13/+13
| |
* | Fixes issue 15039: namespace packages are no longer imported in preference ↵Eric V. Smith2012-06-245-3/+16
| | | | | | | | to modules of the same name.
* | Issue #15164: Change return value of platform.uname() from aLarry Hastings2012-06-244-11/+21
| | | | | | | | plain tuple to a collections.namedtuple.
* | Support Mageia Linux in the platform module.Antoine Pitrou2012-06-241-1/+1
| |
* | Closes #11678: support Arch linux in the platform module.Georg Brandl2012-06-241-1/+1
| |
* | #15156: HTMLParser now uses the new "html.entities.html5" dictionary.Ezio Melotti2012-06-242-18/+21
| |
* | Merge with 3.2.Georg Brandl2012-06-241-1/+1
|\ \ | |/
| * Refer test_xmlrpc_net to the new buildbot URL at buildbot.python.org.Georg Brandl2012-06-241-1/+1
| |
| * Partial backport of 612f34e31270: fix spacing error in exception message.Georg Brandl2012-06-241-2/+2
| |
* | urllib.request: fix spacing errors in exception/warning messages.Georg Brandl2012-06-241-5/+5
| |
* | Branch mergeÉric Araujo2012-06-241-0/+4
|\ \
| * | Restore test that was using pysetup and can now (#15157) use pydocÉric Araujo2012-06-241-0/+4
| | |
* | | Fix test__locale on Mac; platform.uname() does not have a structseq-type ↵Georg Brandl2012-06-241-1/+1
|/ / | | | | | | interface (yet).
* | Closes #15162: the meaning of "online" has shifted a bit in recent years, ↵Georg Brandl2012-06-241-2/+2
| | | | | | | | use "interactive" instead.
* | Fix test to really run behind a NNTP virus checkerAntoine Pitrou2012-06-241-2/+5
| |
* | Remove debug output from test_shutilHynek Schlawack2012-06-241-2/+0
| |
* | Issue #15061: Re-implemented hmac.compare_digest() in CChristian Heimes2012-06-242-25/+77
| |
* | Issue #15118: Change return value of os.uname() and os.times() fromLarry Hastings2012-06-247-10/+9
| | | | | | | | | | 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 Brandl2012-06-242-0/+4
| | | | | | | | pathconf().
* | In random's test_seedargs: Make sure to include at least one seed object ↵Mark Dickinson2012-06-241-1/+5
| | | | | | | | with a negative hash.
* | Closes #15157: pydoc script added to venvs.Vinay Sajip2012-06-242-0/+9
| |
* | #15160: Extend the new email parser to handle MIME headers.R David Murray2012-06-245-33/+1848
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 whitespaceHynek Schlawack2012-06-241-3/+3
| |
* | Packaging removal: also revert introduction of sysconfig.cfg.Éric Araujo2012-06-244-200/+113
| | | | | | | | | | | | | | 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 headsGregory P. Smith2012-06-242-4/+8
|\ \
| * | Issue #4489: Rename the feature marker for the symlink resistant rmtree and ↵Nick Coghlan2012-06-242-4/+8
| | | | | | | | | | | | store it as a function attribute
* | | Fixes issue #12268: File readline, readlines and read() or readall() methodsGregory P. Smith2012-06-242-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() methodsGregory P. Smith2012-06-241-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 ofGregory P. Smith2012-06-241-5/+5
| | | | | | | | alarm for the signal tests.
* | Remove packaging from the standard library.Éric Araujo2012-06-24195-30846/+2
| | | | | | | | | | | | 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
* | #11113: add a new "html5" dictionary containing the named character ↵Ezio Melotti2012-06-241-0/+2236
| | | | | | | | references defined by the HTML5 standard and the equivalent Unicode character(s) to the html.entities module.
* | Issue #15154: Add "dir_fd" parameter to os.rmdir, remove "rmdir"Larry Hastings2012-06-232-5/+5
| | | | | | | | | | | | | | 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 Pitrou2012-06-231-1/+2
| | | | | | | | | | | | except clause. (this could reveal test failures!)
* | Issue #13590: Improve support for OS X Xcode 4:Ned Deily2012-06-232-37/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Try to avoid building Python or extension modules with problematic llvm-gcc compiler. - Since Xcode 4 removes ppc support, extension module builds now check for ppc compiler support and automatically remove ppc and ppc64 archs when not available. - Since Xcode 4 no longer install SDKs in default locations, extension module builds now revert to using installed headers and libs if the SDK used to build the interpreter is not available. - Update ./configure to use better defaults for universal builds; in particular, --enable-universalsdk=yes uses the Xcode default SDK and --with-universal-archs now defaults to "intel" if ppc not available.
* | small refactor and PEP8 line width/docstringPhilip Jenvey2012-06-231-9/+13
| |
* | Lower test-skipping threshold in test_reprlibAntoine Pitrou2012-06-231-1/+1
| |