Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merged fix for issue #18260 from 3.3 | Łukasz Langa | 2013-06-23 | 2 | -13/+65 |
|\ | |||||
| * | Fixed issue #18260: configparser TypeError on source name specified as bytes | Łukasz Langa | 2013-06-23 | 2 | -13/+65 |
| | | |||||
* | | Solaris' /dev/null is a symlink. The device test now uses stat instead of ↵ | Christian Heimes | 2013-06-23 | 1 | -4/+7 |
|\ \ | |/ | | | | | | | | | lstat to compensate for symlinks. | ||||
| * | Solaris' /dev/null is a symlink. The device test now uses stat instead of ↵ | Christian Heimes | 2013-06-23 | 1 | -4/+7 |
| | | | | | | | | | | | | lstat to compensate for symlinks. | ||||
* | | (Merge 3.3) Issue #18137: Detect integer overflow on precision in | Victor Stinner | 2013-06-23 | 1 | -0/+17 |
|\ \ | |/ | | | | | float.__format__() and complex.__format__(). | ||||
| * | Issue #18137: Detect integer overflow on precision in float.__format__() and | Victor Stinner | 2013-06-23 | 1 | -0/+17 |
| | | | | | | | | complex.__format__(). | ||||
* | | #18151 Merge from 3.3 | Terry Jan Reedy | 2013-06-22 | 2 | -24/+98 |
|\ \ | |/ | |||||
| * | #18151, part 2: Silence debug build resource warning for each file opened by | Terry Jan Reedy | 2013-06-22 | 2 | -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 _stat | Christian Heimes | 2013-06-22 | 2 | -20/+43 |
| | | |||||
* | | Merge from 3.3 | Andrew Kuchling | 2013-06-22 | 1 | -0/+9 |
|\ \ | |/ | |||||
| * | #18113: avoid segfault if Py_XDECREF triggers code that calls ↵ | Andrew Kuchling | 2013-06-22 | 1 | -0/+9 |
| | | | | | | | | | | | | set_panel_userptr again Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit. | ||||
* | | BSD: block devices are gone | Christian Heimes | 2013-06-22 | 1 | -1/+1 |
|\ \ | |/ | | | | | http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html | ||||
| * | BSD: block devices are gone | Christian Heimes | 2013-06-22 | 1 | -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 links | Christian Heimes | 2013-06-21 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Fix test_stat on BSD, /dev/da0 and /dev/ad0 are links | Christian Heimes | 2013-06-21 | 1 | -1/+2 |
| | | |||||
* | | Add tests for untested features of the 'stat' module (part of issue #11016) | Christian Heimes | 2013-06-21 | 1 | -13/+132 |
|\ \ | |/ | |||||
| * | Add tests for untested features of the 'stat' module (part of issue #11016) | Christian Heimes | 2013-06-21 | 1 | -13/+132 |
| | | |||||
* | | Issue #18202: Fix minor bugs and cleanup test_source_encoding.py. | Serhiy Storchaka | 2013-06-19 | 1 | -12/+13 |
|\ \ | |/ | |||||
| * | Issue #18202: Fix minor bugs and cleanup test_coding.py. | Serhiy Storchaka | 2013-06-19 | 1 | -17/+15 |
| | | |||||
* | | Issue #17222: fix a mix-up in some exception messages. | Brett Cannon | 2013-06-17 | 1 | -2/+2 |
| | | | | | | | | Reported by Arfrever Frehtes Taifersar Arahesis. | ||||
* | | (Merge 3.3) test_faulthandler: use _sigsegv() instead of _read_null() | Victor Stinner | 2013-06-17 | 1 | -5/+5 |
|\ \ | |/ | | | | | faulthandler._read_null() is not reliable: it does not crash on AIX. | ||||
| * | test_faulthandler: use _sigsegv() instead of _read_null() | Victor Stinner | 2013-06-17 | 1 | -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 AIX | Victor Stinner | 2013-06-17 | 1 | -0/+4 |
|\ \ | |/ | | | | | | | sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on AIX. | ||||
| * | Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIX | Victor Stinner | 2013-06-17 | 1 | -0/+4 |
| | | | | | | | | | | sigwaitinfo() can be interrupted on Linux (raises InterruptedError), but not on AIX. | ||||
* | | Issue #18228: Use locale.setlocale(name, None) instead of | Victor Stinner | 2013-06-17 | 1 | -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_environment | Victor Stinner | 2013-06-17 | 1 | -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 Stinner | 2013-06-17 | 1 | -1/+1 |
|\ \ | |/ | | | | | module | ||||
| * | regrtest.py: Fix another typo in the usage of the faulthandler module | Victor Stinner | 2013-06-17 | 1 | -1/+1 |
| | | |||||
* | | (Merge 3.3) regrtest.py: Fix typo in the usage of the faulthandler module | Victor Stinner | 2013-06-17 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | regrtest.py: Fix typo in the usage of the faulthandler module | Victor Stinner | 2013-06-17 | 1 | -3/+3 |
| | | |||||
* | | merge heads | Christian Heimes | 2013-06-17 | 2 | -0/+32 |
|\ \ | |||||
| * \ | Merge heads | Serhiy Storchaka | 2013-06-17 | 1 | -2/+16 |
| |\ \ | |||||
| * \ \ | Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-data | Serhiy Storchaka | 2013-06-17 | 2 | -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-data | Serhiy Storchaka | 2013-06-17 | 2 | -0/+32 |
| | | | | | | | | | | | | | | | | when \r\n appears at end of 65535 bytes without other newlines. | ||||
* | | | | Issue #18147: Add diagnostic functions to ssl.SSLContext(). | Christian Heimes | 2013-06-17 | 1 | -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 seconds | Christian Heimes | 2013-06-17 | 1 | -2/+16 |
|/ / | | | | | | | in ASN1_TIME fields. | ||||
* | | Issue #18223: Refactor test_tarfile. | Serhiy Storchaka | 2013-06-17 | 2 | -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 Storchaka | 2013-06-17 | 2 | -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 fix | Brett Cannon | 2013-06-16 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | merge | Brett Cannon | 2013-06-16 | 3 | -18/+39 |
| |\ | |||||
| * | | Fix a misnaming of a method and an argument | Brett Cannon | 2013-06-16 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #18076: Introduce imoportlib.util.decode_source(). | Brett Cannon | 2013-06-16 | 3 | -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 and | Brett Cannon | 2013-06-16 | 1 | -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 in | Brett Cannon | 2013-06-16 | 1 | -24/+23 |
| | | | | | | | | | | | | loaders where C code provides the loaded module. | ||||
* | | | Check that warnings.showwarning() is not changed. | Brett Cannon | 2013-06-16 | 1 | -1/+6 |
| | | | |||||
* | | | Issues #18058, 18057: Make importlib._bootstrap.NamespaceLoader | Brett Cannon | 2013-06-16 | 3 | -7/+39 |
| | | | | | | | | | | | | | | | conform the the InspectLoader ABC. Perk of this is that runpy/-m can now work with namespace packages. | ||||
* | | | merge | Brett Cannon | 2013-06-16 | 1 | -0/+1 |
|\ \ \ | |||||
| * \ \ | Merge with 3.3 | Andrew Kuchling | 2013-06-16 | 1 | -0/+1 |
| |\ \ \ | | | |/ | | |/| | |||||
| | * | | Describe 'surrogateescape' in the documentation. | Andrew Kuchling | 2013-06-16 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Also, improve some docstring descriptions of the 'errors' parameter. Closes #14015. | ||||
* | | | | Issue #17177: The imp module is pending deprecation. | Brett Cannon | 2013-06-16 | 12 | -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). |