Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 2 | -5/+14 | |
| | | | | the application. Initial patch by Clovis Fabricio. | |||||
* | Remove doc for nonexisting parameter. | Georg Brandl | 2011-01-06 | 1 | -3/+1 | |
| | ||||||
* | 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 | |
| | ||||||
* | Issue #10492: bdb.Bdb.run() only traces the execution of the code | Victor Stinner | 2011-01-06 | 1 | -0/+2 | |
| | | | | And not the compilation (if the input is a string). | |||||
* | 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. | |||||
* | imaplib: IMAP4 constructor closes the socket on error | Victor Stinner | 2011-01-05 | 1 | -0/+11 | |
| | | | | | Fix a ResourceWarning(unclosed socket) if an exception is raised in the constructor after the creation of the 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 | 2 | -1/+24 | |
| | | | | 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 | |
| | ||||||
* | #10790: make append work when output codec is different from input codec | R. David Murray | 2011-01-05 | 2 | -16/+14 | |
| | | | | | There's still a bug here (the encode call shouldn't use the 'errors' paramter), but I'll fix that later. | |||||
* | 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 | |
| | ||||||
* | In subprocess, wrap pipe fds before launching the child. Hopefully this | Antoine Pitrou | 2011-01-04 | 1 | -7/+21 | |
| | | | | will fix intermittent failures on some buildbots (issue #8458). | |||||
* | Fix the new bug introduced in the r87710 fix for issue 6643. DummyThread | Gregory P. Smith | 2011-01-04 | 1 | -4/+13 | |
| | | | | | | | deletes its _block attribute, deal with that. This prevents an uncaught exception in a thread during test_thread. This refactors a bit to better match what I did in the r87727 backport to 2.7. | |||||
* | 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 | 2 | -1/+10 | |
| | | | | 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 | |
| | ||||||
* | fix test_unittest: ignore DeprecationWarning on assertDictContainsSubset() | Victor Stinner | 2011-01-03 | 2 | -24/+30 | |
| | ||||||
* | Un-complicate some code | Antoine Pitrou | 2011-01-03 | 1 | -15/+5 | |
| | ||||||
* | 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 | 2 | -4/+151 | |
| | | | | | 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). | |||||
* | Mention --randseed in option list | Antoine Pitrou | 2011-01-03 | 1 | -0/+1 | |
| | ||||||
* | Issue #6293: Have regrtest.py echo back sys.flags. This is done by default | Antoine Pitrou | 2011-01-03 | 1 | -3/+8 | |
| | | | | | in whole runs and enabled selectively using `--header` when running an explicit list of tests. Original patch by Collin Winter. | |||||
* | Issue #10806, issue #9905: Fix subprocess pipes when some of the standard | Antoine Pitrou | 2011-01-03 | 2 | -25/+79 | |
| | | | | | file descriptors (0, 1, 2) are closed in the parent process. Initial patch by Ross Lagerwall. | |||||
* | Fix test_site for systems without unsetenv. Reported by Zsolt Cserna. | Éric Araujo | 2011-01-03 | 1 | -2/+6 | |
| | ||||||
* | Enable unittest.TestCase to be instantiated without providing a method name. | Michael Foord | 2011-01-03 | 2 | -3/+18 | |
| | | | | Changed unittestgui to show number of discovered tests in the status bar. | |||||
* | test_subprocess: close pipes at the end of test_pipe_cloexec_real_tools() | Victor Stinner | 2011-01-03 | 1 | -0/+3 | |
| | ||||||
* | pydoc: close the DocServer when done | Victor Stinner | 2011-01-03 | 1 | -0/+2 | |
| | ||||||
* | Issue #10816: multiprocessing.SocketClient() closes the socket on error | Victor Stinner | 2011-01-03 | 1 | -15/+14 | |
| | | | | Use a context manager to close immediatly the socket on error. | |||||
* | test_socket: use context managers to close directly the socket | Victor Stinner | 2011-01-03 | 1 | -34/+38 | |
| | | | | Fix ResourceWarning(unclosed socket) warnings. Patch written by Nadeem Vawda. |