summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* test_time: assertEquals => assertEqualVictor Stinner2011-01-051-1/+1
|
* Issue #10756: add the author, Andreas StührkVictor Stinner2011-01-052-1/+3
|
* test_threading: use Popen.communicate() instead of .wait()Victor Stinner2011-01-051-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 exitVictor Stinner2011-01-051-1/+10
| | | | Fix a ResourceWarning(unclosed file).
* Issue #10756: atexit normalizes the exception before displaying it.Victor Stinner2011-01-053-0/+11
|
* test_bytes: test PyBytes_FromFormat() using ctypesVictor Stinner2011-01-051-0/+21
|
* Remove arbitrary string length limitsVictor Stinner2011-01-052-3/+3
| | | | | PyUnicode_FromFormat() and PyErr_Format() allocates a buffer of the needed size, it is no more a fixed-buffer of 500 bytes.
* #10790: make append work when output codec is different from input codecR. David Murray2011-01-054-24/+26
| | | | | 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 Stinner2011-01-052-18/+20
| | | | | Instead of _testcapi.format_unicode() because it has a limited API: it requires exactly one argument of type unicode.
* Fix test_time under WindowsAntoine Pitrou2011-01-041-1/+1
|
* Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd insteadVictor Stinner2011-01-041-1/+1
|
* Issue #9566: explain why (int)len cannot underflowVictor Stinner2011-01-041-0/+1
|
* In subprocess, wrap pipe fds before launching the child. Hopefully thisAntoine Pitrou2011-01-041-7/+21
| | | | will fix intermittent failures on some buildbots (issue #8458).
* Fix the new bug introduced in the r87710 fix for issue 6643. DummyThreadGregory P. Smith2011-01-041-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 Brandl2011-01-041-1/+1
|
* Whitespace cleanupAlexander Belopolsky2011-01-041-2/+1
|
* Issue #8013: Fix time.ctime test failure on 32-bit platforms.Alexander Belopolsky2011-01-041-1/+1
|
* Issue #8013: time.asctime and time.ctime no longer call system asctimeAlexander Belopolsky2011-01-044-40/+62
| | | | | | | 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.
* logging HOWTO: fixed markup for numbered handler list.Vinay Sajip2011-01-041-19/+15
|
* Issue #9015, #9611: stdprinter.write() clamps the length to 2^31-1 on WindowsVictor Stinner2011-01-042-4/+10
|
* Issue #9566: use Py_ssize_t instead of intVictor Stinner2011-01-0414-33/+32
|
* Issue #8992: convertsimple() doesn't need to fill msgbuf if an error occurredVictor Stinner2011-01-041-38/+41
| | | | Return msgbug on error is enough.
* Issue #8992: Simplify addcleanup() APIVictor Stinner2011-01-041-13/+15
| | | | Don't need to handle unknown destructor anymore.
* Issue #10819: SocketIO.name property returns -1 when its closed, instead ofVictor Stinner2011-01-043-1/+13
| | | | raising a ValueError, to fix repr().
* Issue #8650: zlib.compress() and zlib.decompress() raise an OverflowError ifVictor Stinner2011-01-043-5/+33
| | | | | 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 fileVictor Stinner2011-01-043-1/+33
| | | | | doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int (length bigger than 2^31-1).
* Issue #9015, #9611: FileIO.readinto(), FileIO.write() and os.write() clamp theVictor Stinner2011-01-043-6/+30
| | | | length to 2^31-1 on Windows.
* Issue #10267: Fix refleak in test_ttk_guionly. Patch by Hirokazu Yamamoto.Antoine Pitrou2011-01-041-2/+6
|
* test_httplib: fix a DeprecationWarning, assertEquals=>assertEqualVictor Stinner2011-01-041-1/+1
|
* test_array: fix the DeprecationWarning('object.__init__() takes no parameters')Victor Stinner2011-01-041-1/+1
|
* Issue #10333: Remove ancient GC API, which has been deprecated sinceAntoine Pitrou2011-01-044-21/+7
| | | | Python 2.2.
* fix test_unittest: ignore DeprecationWarning on assertDictContainsSubset()Victor Stinner2011-01-032-24/+30
|
* Un-complicate some codeAntoine Pitrou2011-01-031-15/+5
|
* Add some more outputAntoine Pitrou2011-01-031-0/+3
|
* Temporary debug output for intermittent failures in test_subprocessAntoine Pitrou2011-01-031-0/+4
|
* Add a subprocess test of remapping standard file descriptors (issue #1187).Antoine Pitrou2011-01-031-0/+48
|
* news for 6643Gregory P. Smith2011-01-031-0/+3
|
* issue6643 - Two locks held within the threading module on each thread instanceGregory P. Smith2011-01-032-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 listAntoine Pitrou2011-01-031-0/+1
|
* Issue #6293: Have regrtest.py echo back sys.flags. This is done by defaultAntoine Pitrou2011-01-032-3/+15
| | | | | in whole runs and enabled selectively using `--header` when running an explicit list of tests. Original patch by Collin Winter.
* Update description of Tools/unicodeMichael Foord2011-01-031-2/+3
|
* Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep inAntoine Pitrou2011-01-034-3/+7
| | | | the configure script but use $GREP instead. Patch by Fabian Groffen.
* Issue #10806, issue #9905: Fix subprocess pipes when some of the standardAntoine Pitrou2011-01-034-33/+104
| | | | | 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 Araujo2011-01-031-2/+6
|
* Enable unittest.TestCase to be instantiated without providing a method name.Michael Foord2011-01-035-5/+30
| | | | 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 Stinner2011-01-031-0/+3
|
* pydoc: close the DocServer when doneVictor Stinner2011-01-031-0/+2
|
* Issue #10816: multiprocessing.SocketClient() closes the socket on errorVictor Stinner2011-01-031-15/+14
| | | | Use a context manager to close immediatly the socket on error.
* Issue 10502: addition of unittestgui to Tools/Michael Foord2011-01-035-2/+509
|
* test_socket: use context managers to close directly the socketVictor Stinner2011-01-031-34/+38
| | | | Fix ResourceWarning(unclosed socket) warnings. Patch written by Nadeem Vawda.