Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert SF #1615701 (rev 53655): dict.update() does *not* call __getitem__() or | Neal Norwitz | 2007-04-16 | 1 | -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 Norwitz | 2007-04-16 | 1 | -18/+0 |
| | |||||
* | Add code to read from master_fd in the parent, breaking when we get an OSError | Barry Warsaw | 2007-04-13 | 1 | -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 objects | Raymond Hettinger | 2007-04-04 | 1 | -0/+6 |
| | |||||
* | Bug #1686475: Support stat'ing open files on Windows again. | Martin v. Löwis | 2007-04-04 | 1 | -0/+9 |
| | |||||
* | Array module's buffer interface can now handle empty arrays. | Raymond Hettinger | 2007-04-02 | 1 | -0/+7 |
| | |||||
* | SF #1693079 Array module cannot pickle empty arrays | Raymond Hettinger | 2007-04-02 | 1 | -0/+15 |
| | |||||
* | Backport 54594: | Neal Norwitz | 2007-03-31 | 1 | -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 Seilnacht | 2007-03-21 | 1 | -0/+9 |
| | | | | | now be unpickled. (backport form rev. 54492) | ||||
* | Test and fix fromkeys optional argument. | Raymond Hettinger | 2007-03-21 | 1 | -0/+3 |
| | |||||
* | Patch #1682205: a TypeError while unpacking an iterable is no longer | Georg Brandl | 2007-03-21 | 1 | -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 Hettinger | 2007-03-20 | 1 | -2/+6 |
| | | | | calls and fixing set/dict interoperability. | ||||
* | Patch #1642547: Fix an error/crash when encountering syntax errors in ↵ | Collin Winter | 2007-03-16 | 1 | -0/+50 |
| | | | | | | complex if statements. Backported from r54404. | ||||
* | Patch #1462488: prevent a segfault in object_reduce_ex() by splitting | Žiga Seilnacht | 2007-03-15 | 1 | -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öwis | 2007-03-14 | 1 | -1/+1 |
| | |||||
* | Patch #1680015: Don't modify __slots__ tuple if it contains an unicode | Žiga Seilnacht | 2007-03-14 | 1 | -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 an | Georg Brandl | 2007-03-14 | 1 | -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 Winter | 2007-03-12 | 2 | -0/+19 |
| | | | | | | Fixed by patch #922167. Backported from r54291. | ||||
* | Fix resource leak reported in SF #1516995. | Vinay Sajip | 2007-03-11 | 1 | -0/+2 |
| | |||||
* | Convert an assert to a raise so it works even in the presence of -O. | Collin Winter | 2007-03-10 | 1 | -2/+4 |
| | |||||
* | Revert rev. 54198, it's not really backwards compatible. | Georg Brandl | 2007-03-10 | 1 | -10/+0 |
| | |||||
* | Bug #1531963: Make SocketServer.TCPServer's server_address always be equal ↵ | Collin Winter | 2007-03-10 | 1 | -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 failures | Brett Cannon | 2007-03-09 | 1 | -1/+7 |
| | | | | by HTTPS connections that time out. | ||||
* | Backported r54226 from p3yk: Move test_unittest, test_doctest and ↵ | Collin Winter | 2007-03-08 | 1 | -0/+3 |
| | | | | test_doctest2 higher up in the testing order. | ||||
* | Backport skipping fromtimestamp(negative value) tests on Windows (from rev. ↵ | Georg Brandl | 2007-03-07 | 1 | -0/+7 |
| | | | | 54209) | ||||
* | Patch #1001604: glob.glob() now returns unicode filenames if it was | Georg Brandl | 2007-03-07 | 1 | -0/+10 |
| | | | | | given a unicode argument and os.listdir() returns unicode filenames. (backport from rev. 54197) | ||||
* | Backport checkin: | Walter Dörwald | 2007-03-06 | 1 | -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 range | Georg Brandl | 2007-03-06 | 1 | -0/+6 |
| | | | | | of Py_ssize_t. (backport from rev. 54177) | ||||
* | Patch #1638879: don't accept strings with embedded NUL bytes in long(). | Georg Brandl | 2007-03-06 | 1 | -0/+5 |
| | | | | (backport from rev. 54173) | ||||
* | Patch #1646728: datetime.fromtimestamp fails with negative | Georg Brandl | 2007-03-06 | 1 | -0/+9 |
| | | | | | fractional times. With unittest. (backport from rev. 54167 by Guido) | ||||
* | A test case for the defaultdict KeyError bug. | Georg Brandl | 2007-03-06 | 1 | -0/+9 |
| | | | | (backport from rev. 54162) | ||||
* | A test case for the fix in #1674228. | Georg Brandl | 2007-03-06 | 1 | -0/+11 |
| | | | | (backport from rev. 54154) | ||||
* | Patch #1674228: when assigning a slice (old-style), check for the | Georg Brandl | 2007-03-05 | 1 | -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 Brandl | 2007-03-04 | 2 | -6/+6 |
| | | | | (backport from rev. 54114) | ||||
* | Fix constantification of None. | Raymond Hettinger | 2007-03-02 | 1 | -0/+5 |
| | |||||
* | Backported r51621 from p3yk: | Thomas Wouters | 2007-02-25 | 2 | -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 Hettinger | 2007-02-19 | 1 | -0/+20 |
| | |||||
* | Revert r53672. | Martin v. Löwis | 2007-02-18 | 1 | -5/+0 |
| | |||||
* | Patch 1463026: Support default namespace in XMLGenerator. | Martin v. Löwis | 2007-02-12 | 1 | -1/+38 |
| | | | | Fixes #847665. | ||||
* | Bug #1653736: Complain about keyword arguments to time.isoformat. | Martin v. Löwis | 2007-02-08 | 1 | -0/+5 |
| | |||||
* | Do not let overflows in enumerate() and count() pass silently. | Raymond Hettinger | 2007-02-07 | 1 | -2/+1 |
| | |||||
* | Bug #1575169: operator.isSequenceType() now returns False for subclasses of ↵ | Raymond Hettinger | 2007-02-07 | 1 | -0/+2 |
| | | | | dict. | ||||
* | Check for a common user error with defaultdict(). | Raymond Hettinger | 2007-02-07 | 1 | -3/+4 |
| | |||||
* | SF #1615701: make d.update(m) honor __getitem__() and keys() in dict subclasses | Raymond Hettinger | 2007-02-07 | 1 | -0/+8 |
| | |||||
* | [Patch #783050 from Patrick Lynch] The emulation of forkpty() is incorrect; | Georg Brandl | 2007-01-31 | 1 | -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 compile | Georg Brandl | 2007-01-27 | 1 | -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 Cannon | 2007-01-25 | 1 | -0/+4 |
| | |||||
* | If you created a weakref in an object's __del__ method to itself it would | Brett Cannon | 2007-01-23 | 2 | -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 test | Andrew M. Kuchling | 2007-01-22 | 1 | -1/+34 |
| | |||||
* | Patch #1627441: close sockets properly in urllib2. | Georg Brandl | 2007-01-21 | 2 | -3/+54 |
| | | | | (backport from rev. 53511) |