summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* #10790: make append work when output codec is different from input codecR. David Murray2011-01-052-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 Stinner2011-01-051-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 WindowsAntoine Pitrou2011-01-041-1/+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
|
* 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-041-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 ofVictor Stinner2011-01-042-1/+10
| | | | raising a ValueError, to fix repr().
* Issue #8650: zlib.compress() and zlib.decompress() raise an OverflowError ifVictor Stinner2011-01-041-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 fileVictor Stinner2011-01-041-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 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
|
* 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
|
* 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-031-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 standardAntoine Pitrou2011-01-032-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 Araujo2011-01-031-2/+6
|
* Enable unittest.TestCase to be instantiated without providing a method name.Michael Foord2011-01-032-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 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.
* 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.
* test_xmlrpc: close the transport when doneVictor Stinner2011-01-031-0/+8
| | | | Fix a ResourceWarning(unclosed socket). Patch written by Nadeem Vawda.
* test_tkinter: use a context manager to close directly the pipeVictor Stinner2011-01-031-1/+2
| | | | Patch written by Nadeem Vawda
* test_timeout: move testRecvfromTimeout() to a UDP-specific test caseVictor Stinner2011-01-031-22/+38
| | | | Fix a ResourceWarning(unclosed socket).
* test_sockserver: close servers when doneVictor Stinner2011-01-031-0/+2
|
* Removes the 'Call' class which is used to control execution order and is ↵Brian Quinlan2011-01-031-400/+167
| | | | unreliable on Windows
* Supply a reduce method for pickling.Raymond Hettinger2011-01-031-0/+3
|
* Make C helper function more closely match the pure python version, and add ↵Raymond Hettinger2011-01-031-1/+14
| | | | tests.
* Skip hanging test.Martin v. Löwis2011-01-031-0/+1
|
* #8278: In the Windows implementation of stat() and utime(),Amaury Forgeot d'Arc2011-01-031-0/+5
| | | | | use time_t instead of int. This gives support for dates after 2038, at least when compiled with VS2003 or later, where time_t is 64bit.
* Issue #10798: Reject supporting concurrent.futures if the system hasMartin v. Löwis2011-01-032-72/+84
| | | | too few POSIX semaphores.
* #8013 follow-up:Georg Brandl2011-01-021-6/+20
| | | | | | * In asctime and ctime, properly remove the newline if the year has more than four digits * Consistent error message for both functions * Fix the test comments and add a check for the removed newline
* Issue #8013: Fixed testAlexander Belopolsky2011-01-021-2/+9
|
* Issue #8013: Fixed time.asctime segfault when OS's asctime failsAlexander Belopolsky2011-01-021-0/+3
|
* Issue #10807: Remove base64, bz2, hex, quopri, rot13, uu and zlib codecs fromVictor Stinner2011-01-021-18/+18
| | | | the codec aliases. They are still accessible via codecs.lookup().
* Relax test condition a lotAntoine Pitrou2011-01-021-2/+3
|
* Fix doctest to not rely on order of dictionary entries.Raymond Hettinger2011-01-021-11/+12
| | | | Use super() instead of direct references to the dict superclass.
* Fix OrderedDic.pop() to work for subclasses that define __missing__().Raymond Hettinger2011-01-012-2/+27
|
* Make it easier to extend OrderedDict without breaking it.Raymond Hettinger2011-01-012-2/+10
|
* #10801: do not actually extract, just open() the files in the test zipfile.Georg Brandl2011-01-011-9/+4
|
* #10801: In zipfile, support different encodings for the header and the ↵Georg Brandl2011-01-013-1/+21
| | | | filenames. Patch by MvL, test by Eli Bendersky.
* Issue 6285: catch missing IDLE help file.Terry Reedy2011-01-011-3/+11
|