summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | 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
| * regrtest.py: Fix another typo in the usage of the faulthandler moduleVictor Stinner2013-06-171-1/+1
| |
* | (Merge 3.3) regrtest.py: Fix typo in the usage of the faulthandler moduleVictor Stinner2013-06-171-3/+3
|\ \ | |/
| * regrtest.py: Fix typo in the usage of the faulthandler moduleVictor Stinner2013-06-171-3/+3
| |
* | merge headsChristian Heimes2013-06-172-0/+32
|\ \
| * \ Merge headsSerhiy Storchaka2013-06-171-2/+16
| |\ \
| * \ \ Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-dataSerhiy Storchaka2013-06-172-0/+32
| |\ \ \ | | | |/ | | |/| | | | | when \r\n appears at end of 65535 bytes without other newlines.
| | * | Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-dataSerhiy Storchaka2013-06-172-0/+32
| | | | | | | | | | | | | | | | when \r\n appears at end of 65535 bytes without other newlines.
* | | | Issue #18147: Add diagnostic functions to ssl.SSLContext().Christian Heimes2013-06-171-0/+57
| |_|/ |/| | | | | | | | | | | get_ca_list() lists all loaded CA certificates and cert_store_stats() returns amount of loaded X.509 certs, X.509 CA certs and CRLs.
* | | Issue #18207: Fix test_ssl for some versions of OpenSSL that ignore secondsChristian Heimes2013-06-171-2/+16
|/ / | | | | | | in ASN1_TIME fields.
* | Issue #18223: Refactor test_tarfile.Serhiy Storchaka2013-06-172-383/+347
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * Use mixins for generating tests for different compression types. * Make test_tarfile discoverable. * Use more special tests (i.e. assertEqual, assertIs) instead of assertTrue. * Add explicit test skips instead of reporting skipped tests as passed. * Wrap long lines. * Correct a comment for test_hardlink_extraction1. * Add support.requires_gzip. * Replace ImportError by ModuleNotFoundError. and some other minor enhancements.
| * Issue #18223: Refactor test_tarfile.Serhiy Storchaka2013-06-172-381/+345
| | | | | | | | | | | | | | | | | | | | | | | | * Use mixins for generating tests for different compression types. * Make test_tarfile discoverable. * Use more special tests (i.e. assertEqual, assertIs) instead of assertTrue. * Add explicit test skips instead of reporting skipped tests as passed. * Wrap long lines. * Correct a comment for test_hardlink_extraction1. * Add support.requires_gzip. and some other minor enhancements.
* | Merge doc/argument name fixBrett Cannon2013-06-161-2/+2
|\ \ | |/
| * mergeBrett Cannon2013-06-163-18/+39
| |\
| * | Fix a misnaming of a method and an argumentBrett Cannon2013-06-161-2/+2
| | |
* | | Issue #18076: Introduce imoportlib.util.decode_source().Brett Cannon2013-06-163-5/+35
| | | | | | | | | | | | | | | | | | | | | The helper function makes it easier to implement imoprtlib.abc.InspectLoader.get_source() by making that function require just the raw bytes for source code and handling all other details.
* | | importlib.abc.SourceLoader.get_source() was re-raising SyntaxError andBrett Cannon2013-06-161-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | UnicodeDecodeError as ImportError. That was over-reaching the point of raising ImportError in get_source() (which is to signal the source code was not found when it should have). Conflating the two exceptions with ImportError could lead to masking errors with the source which should be known outside of whether there was an error simply getting the source to begin with.
* | | Issue #18115: Abstract out managing the cleanup of modules to use inBrett Cannon2013-06-161-24/+23
| | | | | | | | | | | | loaders where C code provides the loaded module.
* | | Check that warnings.showwarning() is not changed.Brett Cannon2013-06-161-1/+6
| | |
* | | Issues #18058, 18057: Make importlib._bootstrap.NamespaceLoaderBrett Cannon2013-06-163-7/+39
| | | | | | | | | | | | | | | conform the the InspectLoader ABC. Perk of this is that runpy/-m can now work with namespace packages.
* | | mergeBrett Cannon2013-06-161-0/+1
|\ \ \
| * \ \ Merge with 3.3Andrew Kuchling2013-06-161-0/+1
| |\ \ \ | | | |/ | | |/|
| | * | Describe 'surrogateescape' in the documentation.Andrew Kuchling2013-06-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Also, improve some docstring descriptions of the 'errors' parameter. Closes #14015.
* | | | Issue #17177: The imp module is pending deprecation.Brett Cannon2013-06-1612-83/+93
|/ / / | | | | | | | | | | | | | | | To make sure there is no issue with code that is both Python 2 and 3 compatible, there are no plans to remove the module any sooner than Python 4 (unless the community moves to Python 3 solidly before then).