Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make mktime test more robust. | Alexander Belopolsky | 2011-01-11 | 1 | -3/+7 |
| | |||||
* | Issue #1726687: time.mktime() will now correctly compute value one | Alexander Belopolsky | 2011-01-11 | 1 | -0/+13 |
| | | | | | second before epoch. Original patch by Peter Wang, reported by Martin Blais. | ||||
* | Issue #10872: The repr() of TextIOWrapper objects now includes the mode | Antoine Pitrou | 2011-01-09 | 1 | -1/+4 |
| | | | | | | if available. (at Georg's request) | ||||
* | #10874: test_urllib2 shouldn't use `is` operator for comparing strings | Łukasz Langa | 2011-01-09 | 1 | -1/+1 |
| | | | | Patch by Adreas Stührk. | ||||
* | Add missing line. | Georg Brandl | 2011-01-09 | 1 | -0/+1 |
| | |||||
* | #10869: do not visit root node twice in ast.increment_lineno(). | Georg Brandl | 2011-01-09 | 1 | -0/+7 |
| | |||||
* | Add EHOSTUNREACH ('No route to host') to the errnos trapped by ↵ | Antoine Pitrou | 2011-01-08 | 1 | -0/+1 |
| | | | | transient_internet(). | ||||
* | Fix test_ssl after r87849 | Antoine Pitrou | 2011-01-08 | 2 | -32/+128 |
| | |||||
* | Issue #10859: Make `contextlib.GeneratorContextManager` officially | Antoine Pitrou | 2011-01-08 | 1 | -6/+6 |
| | | | | private by renaming it to `_GeneratorContextManager`. | ||||
* | Issue #10042: Fixed the total_ordering decorator to handle cross-type | Raymond Hettinger | 2011-01-08 | 1 | -0/+24 |
| | | | | comparisons that could lead to infinite recursion. | ||||
* | test_ssl: test SHA256 using sha256.tbs-internet.com instead of sha2.hboeck.de | Victor Stinner | 2011-01-08 | 1 | -2/+2 |
| | |||||
* | Issue #1777412: Remove all limits on tm_year from time.strftime() | Victor Stinner | 2011-01-08 | 1 | -17/+19 |
| | | | | The buildbots will tell us which platform does support or not negative years. | ||||
* | Issue #1777412: fix test_time for Mac OS X and OpenIndiana | Victor Stinner | 2011-01-08 | 1 | -9/+14 |
| | |||||
* | Issue #1777412: test large years value for strftime('%Y') | Victor Stinner | 2011-01-08 | 1 | -5/+10 |
| | |||||
* | Issue #1777412: strftime() accepts year >= 1 instead of year >= 1900 | Victor Stinner | 2011-01-08 | 1 | -30/+70 |
| | | | | | * With Visual Studio, year have to be in [1; 9999] * Add more tests on the year field | ||||
* | Fixed error handling branches. Thanks | Alexander Belopolsky | 2011-01-08 | 1 | -1/+12 |
| | | | | Victor Stinner for pointing this out. | ||||
* | Issue #1777412: extended year range of strftime down to 1000. | Alexander Belopolsky | 2011-01-08 | 1 | -3/+3 |
| | |||||
* | Issue #10827: Changed the rules for 2-digit years. The time.asctime | Alexander Belopolsky | 2011-01-07 | 1 | -26/+36 |
| | | | | | | | | function will now format any year when time.accept2dyear is false and will accept years >= 1000 otherwise. The year range accepted by time.mktime and time.strftime is still system dependent, but time.mktime will now accept full range supported by the OS. Conversion of 2-digit years to 4-digit is deprecated. | ||||
* | Get --coverage to be an acceptable flag for test.regrtest again. | Brett Cannon | 2011-01-06 | 1 | -2/+2 |
| | |||||
* | Further simplify gettmarg() | Alexander Belopolsky | 2011-01-06 | 1 | -0/+1 |
| | |||||
* | Issue #3839: wsgiref should not override a Content-Length header set by | Antoine Pitrou | 2011-01-06 | 1 | -4/+11 |
| | | | | the application. Initial patch by Clovis Fabricio. | ||||
* | Issue #1677694: Refactor and improve test_timeout. Original patch by | Antoine Pitrou | 2011-01-06 | 1 | -56/+54 |
| | | | | Björn Lindqvist. | ||||
* | Issue 10825: Minor updates to the test suite. | Raymond Hettinger | 2011-01-06 | 4 | -10/+10 |
| | |||||
* | test_atexit: fix code saving/restoring stdout and stderr | Victor Stinner | 2011-01-05 | 1 | -1/+2 |
| | | | | That's why I prefer a single instruction per line :-) | ||||
* | test_imaplib: reap_server() closes the server when done | Victor Stinner | 2011-01-05 | 1 | -0/+1 |
| | | | | Fix a ResourceWarning(unclosed socket). Patch written by Nadeem Vawda. | ||||
* | - time.accept2dyear = True is now equivalent to time.accept2dyear = 1 | Alexander Belopolsky | 2011-01-05 | 1 | -1/+41 |
| | | | | | | - removed unnecessary struct_time to tuple conversion - added more unit tests (See issue #10827 for discussion.) | ||||
* | On Py3k, -tt and -3 are no-op and unsupported respectively. | Georg Brandl | 2011-01-05 | 1 | -2/+2 |
| | |||||
* | Issue #7995: When calling accept() on a socket with a timeout, the returned | Antoine Pitrou | 2011-01-05 | 1 | -0/+17 |
| | | | | socket is now always non-blocking, regardless of the operating system. | ||||
* | Update tests and whatsnew for the 'quiet' flag | Raymond Hettinger | 2011-01-05 | 1 | -1/+1 |
| | |||||
* | Issue #5485: Add tests for the UseForeignDTD method of expat parser objects. | Antoine Pitrou | 2011-01-05 | 1 | -5/+54 |
| | | | | Patch by Jean-Paul Calderone and Sandro Tosi. | ||||
* | test_time: assertEquals => assertEqual | Victor Stinner | 2011-01-05 | 1 | -1/+1 |
| | |||||
* | test_threading: use Popen.communicate() instead of .wait() | Victor Stinner | 2011-01-05 | 1 | -3/+3 |
| | | | | | Popen.communicate() avoids deadlocks and close the pipes when done. This commit fixes a ResourceWarning(unclosed pipe). | ||||
* | regrtest: close the new stdout and restore the original stdout at exit | Victor Stinner | 2011-01-05 | 1 | -1/+10 |
| | | | | Fix a ResourceWarning(unclosed file). | ||||
* | Issue #10756: atexit normalizes the exception before displaying it. | Victor Stinner | 2011-01-05 | 1 | -0/+8 |
| | |||||
* | test_bytes: test PyBytes_FromFormat() using ctypes | Victor Stinner | 2011-01-05 | 1 | -0/+21 |
| | |||||
* | test_unicode: use ctypes to test PyUnicode_FromFormat() | Victor Stinner | 2011-01-05 | 1 | -6/+20 |
| | | | | | Instead of _testcapi.format_unicode() because it has a limited API: it requires exactly one argument of type unicode. | ||||
* | Fix test_time under Windows | Antoine Pitrou | 2011-01-04 | 1 | -1/+1 |
| | |||||
* | Fix exception catching. | Georg Brandl | 2011-01-04 | 1 | -1/+1 |
| | |||||
* | Issue #8013: Fix time.ctime test failure on 32-bit platforms. | Alexander Belopolsky | 2011-01-04 | 1 | -1/+1 |
| | |||||
* | Issue #8013: time.asctime and time.ctime no longer call system asctime | Alexander Belopolsky | 2011-01-04 | 1 | -17/+16 |
| | | | | | | | and ctime functions. The year range for time.asctime is now 1900 through maxint. The range for time.ctime is the same as for time.localtime. The string produced by these functions is longer than 24 characters when year is greater than 9999. | ||||
* | Issue #10819: SocketIO.name property returns -1 when its closed, instead of | Victor Stinner | 2011-01-04 | 1 | -0/+6 |
| | | | | raising a ValueError, to fix repr(). | ||||
* | Issue #8650: zlib.compress() and zlib.decompress() raise an OverflowError if | Victor Stinner | 2011-01-04 | 1 | -1/+11 |
| | | | | | the input buffer length doesn't fit into an unsigned int (length bigger than 2^32-1 bytes). | ||||
* | Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file | Victor Stinner | 2011-01-04 | 1 | -0/+18 |
| | | | | | doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int (length bigger than 2^31-1). | ||||
* | Issue #10267: Fix refleak in test_ttk_guionly. Patch by Hirokazu Yamamoto. | Antoine Pitrou | 2011-01-04 | 1 | -2/+6 |
| | |||||
* | test_httplib: fix a DeprecationWarning, assertEquals=>assertEqual | Victor Stinner | 2011-01-04 | 1 | -1/+1 |
| | |||||
* | test_array: fix the DeprecationWarning('object.__init__() takes no parameters') | Victor Stinner | 2011-01-04 | 1 | -1/+1 |
| | |||||
* | Add some more output | Antoine Pitrou | 2011-01-03 | 1 | -0/+3 |
| | |||||
* | Temporary debug output for intermittent failures in test_subprocess | Antoine Pitrou | 2011-01-03 | 1 | -0/+4 |
| | |||||
* | Add a subprocess test of remapping standard file descriptors (issue #1187). | Antoine Pitrou | 2011-01-03 | 1 | -0/+48 |
| | |||||
* | issue6643 - Two locks held within the threading module on each thread instance | Gregory P. Smith | 2011-01-03 | 1 | -4/+147 |
| | | | | | needed to be reinitialized after fork(). Adds tests to confirm that they are and that a potential deadlock and crasher bug are fixed (platform dependant). |