summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18081: Back out temporary changeset, 2a9e1eb3719c, to merge new patch.Terry Jan Reedy2013-06-292-6/+3
| | | | If buildbots run before next push, test_logging will (temporarily) fail.
* Merge with 3.3Terry Jan Reedy2013-06-281-7/+5
|\
| * Issue #18315: Improve fileinput docs by adding 'bufsize' where missing andTerry Jan Reedy2013-06-281-7/+5
| | | | | | | | | | replacing redundant signature in input() docstring with one-line summary. Original patch by Terrel Shumway.
* | Improve imap error message in unusual failure mode.R David Murray2013-06-281-1/+1
| | | | | | | | | | | | | | | | We ran into this during the sprits at PyCon and this patch has been sitting on my disk ever since. This just adds some information to the error message that we found useful during debugging. There's no good way to add a test, since the message only got generated via code that we had modified for debugging purposes.
* | Issue #17914: Use os.cpu_count() instead of multiprocessing.cpu_count() whereCharles-François Natali2013-06-283-12/+6
| | | | | | | | applicable.
* | Merge #14360: make encoders.encode_quopri work.R David Murray2013-06-272-2/+35
|\ \ | |/
| * #14360: make encoders.encode_quopri work.R David Murray2013-06-272-2/+35
| | | | | | | | | | | | | | | | | | There were no tests for the encoders module. encode_base64 worked because it is the default and so got tested implicitly elsewhere, and we use encode_7or8bit internally, so that worked, too. I previously fixed encode_noop, so this fix means that everythign in the encoders module now works, hopefully correctly. Also added an explicit test for encode_base64.
* | #11454: Reduce email module load time, improve surrogate check efficiency.R David Murray2013-06-261-4/+10
| | | | | | | | | | | | | | The new _has_surrogates code was suggested by Serhiy Storchaka. See the issue for timings, but it is far faster than any other alternative, and also removes the load time that we previously incurred from compiling the complex regex this replaces.
* | test_gdb.py: ignore also "warning: Source file is more recent than ↵Victor Stinner2013-06-251-0/+1
| | | | | | | | executable." pattern
* | Issue #17206: Fix test_cmd_line and test_faulthandler for my previous changeVictor Stinner2013-06-252-8/+17
| | | | | | | | | | (test.regrtest and test.script_helper enable faulthandler module in subprocesses).
* | Issue #17206: test.regrtest and test.script_helper enable faulthandler moduleVictor Stinner2013-06-252-2/+3
| | | | | | | | in subprocesses.
* | #11390: fix test failures due to readline and windows lineneds.R David Murray2013-06-251-22/+30
| |
* | Issue 18111: Add a default argument to min() and max()Raymond Hettinger2013-06-251-0/+28
| |
* | Issue #18081: Workaround "./python -m test_idle test_logging" failureVictor Stinner2013-06-242-3/+6
| | | | | | | | | | "import idlelib" should not install hooks on the warning modules, hooks should only be installed when IDLE is started.
* | Merge #18179: reflow paragraphs.R David Murray2013-06-231-22/+23
|\ \ | |/
| * #18179: reflow paragraphs.R David Murray2013-06-231-22/+23
| |
* | Merge #18179: document the local_hostname parameter.R David Murray2013-06-231-4/+7
|\ \ | |/ | | | | Original patch by Berker Peksag.
| * #18179: document the local_hostname parameter.R David Murray2013-06-231-4/+7
| | | | | | | | Original patch by Berker Peksag.
| * Merge headsSerhiy Storchaka2013-06-232-13/+65
| |\
* | | #11390: convert doctest CLI to argparse and add -o and -f options.R David Murray2013-06-232-9/+254
| | | | | | | | | | | | | | | | | | This provides a way to specify arbitrary doctest options when using the CLI interface to process test files, just as one can when calling testmod or testfile programmatically.
* | | Merge headsSerhiy Storchaka2013-06-232-13/+65
|\ \ \
| * \ \ Merged fix for issue #18260 from 3.3Łukasz Langa2013-06-232-13/+65
| |\ \ \ | | | |/ | | |/|
| | * | Fixed issue #18260: configparser TypeError on source name specified as bytesŁukasz Langa2013-06-232-13/+65
| | | |
* | | | Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raiseSerhiy Storchaka2013-06-231-0/+2
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| OverflowError when an argument of %c format is out of range.
| * | Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raiseSerhiy Storchaka2013-06-231-0/+2
| |/ | | | | | | OverflowError when an argument of %c format is out of range.
* | Solaris' /dev/null is a symlink. The device test now uses stat instead of ↵Christian Heimes2013-06-231-4/+7
|\ \ | |/ | | | | | | | | lstat to compensate for symlinks.
| * Solaris' /dev/null is a symlink. The device test now uses stat instead of ↵Christian Heimes2013-06-231-4/+7
| | | | | | | | | | | | lstat to compensate for symlinks.
* | (Merge 3.3) Issue #18137: Detect integer overflow on precision inVictor Stinner2013-06-231-0/+17
|\ \ | |/ | | | | float.__format__() and complex.__format__().
| * Issue #18137: Detect integer overflow on precision in float.__format__() andVictor Stinner2013-06-231-0/+17
| | | | | | | | complex.__format__().
* | #18151 Merge from 3.3Terry Jan Reedy2013-06-222-24/+98
|\ \ | |/
| * #18151, part 2: Silence debug build resource warning for each file opened byTerry Jan Reedy2013-06-222-24/+99
| | | | | | | | | | | | 'Find in files' by replacing 'open with implicit close' by 'with open' in GrepDialog method grep_it. Streamline code with enumerate(), direct file iteration, and output tweak. Add test for this method, including output format.
* | Issue #11016: Add C implementation of the stat module as _statChristian Heimes2013-06-222-20/+43
| |
* | Merge from 3.3Andrew Kuchling2013-06-221-0/+9
|\ \ | |/
| * #18113: avoid segfault if Py_XDECREF triggers code that calls ↵Andrew Kuchling2013-06-221-0/+9
| | | | | | | | | | | | set_panel_userptr again Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
* | BSD: block devices are goneChristian Heimes2013-06-221-1/+1
|\ \ | |/ | | | | http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html
| * BSD: block devices are goneChristian Heimes2013-06-221-1/+1
| | | | | | | | http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html
* | Fix test_stat on BSD, /dev/da0 and /dev/ad0 are linksChristian Heimes2013-06-211-1/+2
|\ \ | |/
| * Fix test_stat on BSD, /dev/da0 and /dev/ad0 are linksChristian Heimes2013-06-211-1/+2
| |
* | Add tests for untested features of the 'stat' module (part of issue #11016)Christian Heimes2013-06-211-13/+132
|\ \ | |/
| * Add tests for untested features of the 'stat' module (part of issue #11016)Christian Heimes2013-06-211-13/+132
| |
* | Issue #18202: Fix minor bugs and cleanup test_source_encoding.py.Serhiy Storchaka2013-06-191-12/+13
|\ \ | |/
| * Issue #18202: Fix minor bugs and cleanup test_coding.py.Serhiy Storchaka2013-06-191-17/+15
| |
* | Issue #17222: fix a mix-up in some exception messages.Brett Cannon2013-06-171-2/+2
| | | | | | | | Reported by Arfrever Frehtes Taifersar Arahesis.
* | (Merge 3.3) test_faulthandler: use _sigsegv() instead of _read_null()Victor Stinner2013-06-171-5/+5
|\ \ | |/ | | | | faulthandler._read_null() is not reliable: it does not crash on AIX.
| * test_faulthandler: use _sigsegv() instead of _read_null()Victor Stinner2013-06-171-5/+5
| | | | | | | | faulthandler._read_null() is not reliable: it does not crash on AIX.
* | (Merge 3.3) Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIXVictor Stinner2013-06-171-0/+4
|\ \ | |/ | | | | | | sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on AIX.
| * Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIXVictor Stinner2013-06-171-0/+4
| | | | | | | | | | sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on AIX.
* | Issue #18228: Use locale.setlocale(name, None) instead ofVictor Stinner2013-06-171-2/+2
| | | | | | | | | | | | | | locale.getlocale(name) in test.regrtest.saved_test_environment locale.getlocale() parses the locale, which is useless for saved_test_environment.
* | Issue #18228: Fix locale test of test.regrtest.saved_test_environmentVictor Stinner2013-06-171-2/+3
| | | | | | | | | | Skip LC_ALL becore getlocale(locale.LC_ALL) always fail, and catch also ValueError.
* | (Merge 3.3) regrtest.py: Fix another typo in the usage of the faulthandler ↵Victor Stinner2013-06-171-1/+1
|\ \ | |/ | | | | module