summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Revert SF #1615701 (rev 53655): dict.update() does *not* call __getitem__() orNeal Norwitz2007-04-161-8/+0
| | | | | | | keys() if subclassed. This is to remain consistent with 2.5. See discussion here: http://mail.python.org/pipermail/python-dev/2007-April/072565.html
* Revert 54805 for 2.5.1 release. Can be applied after 2.5 branch is unfrozen.Neal Norwitz2007-04-161-18/+0
|
* Add code to read from master_fd in the parent, breaking when we get an OSErrorBarry Warsaw2007-04-131-0/+18
| | | | | | | (EIO can occur on Linux) or there's no more data to read. Without this, test_pty.py can hang on the waitpid() because the child is blocking on the stdout write. This will definitely happen on Mac OS X and could potentially happen on other platforms. See the comment for details.
* Bug #1563759: struct.unpack doens't support buffer protocol objectsRaymond Hettinger2007-04-041-0/+6
|
* Bug #1686475: Support stat'ing open files on Windows again.Martin v. Löwis2007-04-041-0/+9
|
* Array module's buffer interface can now handle empty arrays.Raymond Hettinger2007-04-021-0/+7
|
* SF #1693079 Array module cannot pickle empty arraysRaymond Hettinger2007-04-021-0/+15
|
* Backport 54594:Neal Norwitz2007-03-311-0/+7
| | | | | | Fix SF #1688393, sock.recvfrom(-24) crashes Also fix some method names that were copied incorrectly (trunk fixed).
* Bug #1675967: re patterns pickled with older Python versions canŽiga Seilnacht2007-03-211-0/+9
| | | | | now be unpickled. (backport form rev. 54492)
* Test and fix fromkeys optional argument.Raymond Hettinger2007-03-211-0/+3
|
* Patch #1682205: a TypeError while unpacking an iterable is no longerGeorg Brandl2007-03-211-1/+1
| | | | | masked by a generic one with the message "unpack non-sequence". (backport from rev. 54480)
* Extend work on rev 52962 and 53830 eliminating redundant PyObject_Hash() ↵Raymond Hettinger2007-03-201-2/+6
| | | | calls and fixing set/dict interoperability.
* Patch #1642547: Fix an error/crash when encountering syntax errors in ↵Collin Winter2007-03-161-0/+50
| | | | | | complex if statements. Backported from r54404.
* Patch #1462488: prevent a segfault in object_reduce_ex() by splittingŽiga Seilnacht2007-03-151-0/+32
| | | | | | the implementation for __reduce__ and __reduce_ex__ into two separate functions. Fixes bug #931877. (backport from rev. 54397)
* Patch #1559413: Fix test_cmd_line if sys.executable contains a space.Martin v. Löwis2007-03-141-1/+1
|
* Patch #1680015: Don't modify __slots__ tuple if it contains an unicodeŽiga Seilnacht2007-03-141-0/+23
| | | | | | name. Remove a reference leak that happened if the name could not be converted to string. (backport from rev. 54378)
* Bug #767111: fix long-standing bug in urllib which caused anGeorg Brandl2007-03-141-0/+9
| | | | | | AttributeError instead of an IOError when the server's response didn't contain a valid HTTP status line. (backport from rev. 54376)
* Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. ↵Collin Winter2007-03-122-0/+19
| | | | | | Fixed by patch #922167. Backported from r54291.
* Fix resource leak reported in SF #1516995.Vinay Sajip2007-03-111-0/+2
|
* Convert an assert to a raise so it works even in the presence of -O.Collin Winter2007-03-101-2/+4
|
* Revert rev. 54198, it's not really backwards compatible.Georg Brandl2007-03-101-10/+0
|
* Bug #1531963: Make SocketServer.TCPServer's server_address always be equal ↵Collin Winter2007-03-101-0/+1
| | | | | | to calling getsockname() on the server's socket. Fixed by patch #1545011. Backported from r54253.
* Manual backport of r54233. This will help prevent spurious Buildbot failuresBrett Cannon2007-03-091-1/+7
| | | | by HTTPS connections that time out.
* Backported r54226 from p3yk: Move test_unittest, test_doctest and ↵Collin Winter2007-03-081-0/+3
| | | | test_doctest2 higher up in the testing order.
* Backport skipping fromtimestamp(negative value) tests on Windows (from rev. ↵Georg Brandl2007-03-071-0/+7
| | | | 54209)
* Patch #1001604: glob.glob() now returns unicode filenames if it wasGeorg Brandl2007-03-071-0/+10
| | | | | given a unicode argument and os.listdir() returns unicode filenames. (backport from rev. 54197)
* Backport checkin:Walter Dörwald2007-03-061-0/+9
| | | | | | Patch for bug #1633621: if curses.resizeterm() or curses.resize_term() is called, update _curses.LINES, _curses.COLS, curses.LINES and curses.COLS.
* Patch #1654417: make operator.{get,set,del}slice use the full rangeGeorg Brandl2007-03-061-0/+6
| | | | | of Py_ssize_t. (backport from rev. 54177)
* Patch #1638879: don't accept strings with embedded NUL bytes in long().Georg Brandl2007-03-061-0/+5
| | | | (backport from rev. 54173)
* Patch #1646728: datetime.fromtimestamp fails with negativeGeorg Brandl2007-03-061-0/+9
| | | | | fractional times. With unittest. (backport from rev. 54167 by Guido)
* A test case for the defaultdict KeyError bug.Georg Brandl2007-03-061-0/+9
| | | | (backport from rev. 54162)
* A test case for the fix in #1674228.Georg Brandl2007-03-061-0/+11
| | | | (backport from rev. 54154)
* Patch #1674228: when assigning a slice (old-style), check for theGeorg Brandl2007-03-051-0/+14
| | | | | sq_ass_slice instead of the sq_slice slot. (backport from rev. 54139)
* Fix a bug in test_dict and test_userdict, found at the PyPy sprint.Georg Brandl2007-03-042-6/+6
| | | | (backport from rev. 54114)
* Fix constantification of None.Raymond Hettinger2007-03-021-0/+5
|
* Backported r51621 from p3yk:Thomas Wouters2007-02-252-4/+4
| | | | | Don't use a fixed temporary name (gdbm). Don't use our own temp name creation (dbm).
* Extend work on revision 52962: Eliminate redundant calls to PyObject_Hash().Raymond Hettinger2007-02-191-0/+20
|
* Revert r53672.Martin v. Löwis2007-02-181-5/+0
|
* Patch 1463026: Support default namespace in XMLGenerator.Martin v. Löwis2007-02-121-1/+38
| | | | Fixes #847665.
* Bug #1653736: Complain about keyword arguments to time.isoformat.Martin v. Löwis2007-02-081-0/+5
|
* Do not let overflows in enumerate() and count() pass silently.Raymond Hettinger2007-02-071-2/+1
|
* Bug #1575169: operator.isSequenceType() now returns False for subclasses of ↵Raymond Hettinger2007-02-071-0/+2
| | | | dict.
* Check for a common user error with defaultdict().Raymond Hettinger2007-02-071-3/+4
|
* SF #1615701: make d.update(m) honor __getitem__() and keys() in dict subclassesRaymond Hettinger2007-02-071-0/+8
|
* [Patch #783050 from Patrick Lynch] The emulation of forkpty() is incorrect;Georg Brandl2007-01-311-0/+15
| | | | | | | | | | the master should close the slave fd. Added a test to test_pty.py that reads from the master_fd after doing a pty.fork(); without the fix it hangs forever instead of raising an exception. (<crossing fingers for the buildbots>) Backport from trunk rev. 53146.
* Patch #1638243: the compiler package is now able to correctly compileGeorg Brandl2007-01-271-0/+31
| | | | | | a with statement; previously, executing code containing a with statement compiled by the compiler package crashed the interpreter. (backport from rev. 53575)
* Backport fix for bug #1643943.Brett Cannon2007-01-251-0/+4
|
* If you created a weakref in an object's __del__ method to itself it wouldBrett Cannon2007-01-232-1/+16
| | | | | | | | segfault the interpreter during weakref clean up. Now any new weakrefs created after __del__ is run are removed silently. Fixes bug #1377858 and the weakref_in_del crasher for new-style classes. Classic classes are still affected.
* [Bug #1633678] Improve pattern used for mbox 'From' lines; add a simple testAndrew M. Kuchling2007-01-221-1/+34
|
* Patch #1627441: close sockets properly in urllib2.Georg Brandl2007-01-212-3/+54
| | | | (backport from rev. 53511)