Collin Winter
3e43bcc78e
Patch #1192590 : Fix pdb's "ignore" and "condition" commands so they trap the IndexError caused by passing in an invalid breakpoint number.
...
Backport of r54271.
2007-03-11 16:04:01 +00:00
Žiga Seilnacht
ad3d2c2fe4
Patch #1675981 : remove unreachable code from type.__new__() method.
...
__dict__ and __weakref__ are removed from the slots tuple earlier
in the code, in the loop that mangles slot names.
(backport from rev. 54270)
2007-03-11 16:01:51 +00:00
Georg Brandl
d28d9c8221
Add missing "return" statements in exception handler.
...
(backport from rev. 54268)
2007-03-11 08:28:50 +00:00
Collin Winter
69fe9e478f
Convert an assert to a raise so it works even in the presence of -O.
2007-03-10 14:35:22 +00:00
Georg Brandl
237458b2bf
Revert rev. 54198, it's not really backwards compatible.
2007-03-10 08:06:14 +00:00
Collin Winter
86d8d3520d
Bug #1531963 : Make SocketServer.TCPServer's server_address always be equal to calling getsockname() on the server's socket. Fixed by patch #1545011 .
...
Backported from r54253.
2007-03-10 03:31:44 +00:00
Thomas Heller
8bf469ddc1
Merged revisions 54248 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
........
r54248 | thomas.heller | 2007-03-09 21:39:22 +0100 (Fr, 09 Mär 2007) | 7 lines
Bug #1651235 : When a tuple was passed to a ctypes function call,
Python would crash instead of raising an error.
The crash was caused by a section of code that should have been
removed long ago, at that time ctypes had other ways to pass
parameters to function calls.
........
2007-03-09 20:48:57 +00:00
Thomas Heller
f7eed5e2d1
Merged revisions 54244 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
........
r54244 | thomas.heller | 2007-03-09 20:21:28 +0100 (Fr, 09 Mär 2007) | 3 lines
Fix bug #1646630 : ctypes.string_at(buf, 0) and ctypes.wstring_at(buf, 0)
returned string up to the first NUL character.
........
2007-03-09 20:21:16 +00:00
Neal Norwitz
e7881559f2
Fix SF #1676971 , Complex OverflowError has a typo
2007-03-09 06:01:28 +00:00
Brett Cannon
afd9b2b54d
Manual backport of r54233. This will help prevent spurious Buildbot failures
...
by HTTPS connections that time out.
2007-03-09 04:57:00 +00:00
Raymond Hettinger
1622d82c08
SF #1637850 : make_table in difflib did not work with unicode
2007-03-08 21:30:55 +00:00
Collin Winter
590af0a7c9
Backported r54226 from p3yk: Move test_unittest, test_doctest and test_doctest2 higher up in the testing order.
2007-03-08 19:58:46 +00:00
Raymond Hettinger
154bc7c9bd
SF 1676321: empty() returned wrong result
2007-03-08 19:23:25 +00:00
Georg Brandl
d59ea47e0c
Add a NEWS entry for rev. 54207,8.
...
(backport from rev. 54222)
2007-03-08 18:37:35 +00:00
Georg Brandl
dfc2966001
Fix #1676656 : \em is different from \emph...
...
(backport from rev. 54220)
2007-03-08 17:49:17 +00:00
Georg Brandl
0c4f3fda50
Backport skipping fromtimestamp(negative value) tests on Windows (from rev. 54209)
2007-03-07 16:12:05 +00:00
Georg Brandl
d480b3370b
backport rev. 54207: add a few sanity checks in unittest.TestSuite.addTest(s).
2007-03-07 11:55:25 +00:00
Georg Brandl
4a7da9cdbc
Patch #1669331 : clarify shutil.copyfileobj() behavior wrt. file position.
...
(backport from rev. 54202)
2007-03-07 09:34:52 +00:00
Georg Brandl
b535b39f77
Typo fix.
2007-03-07 09:17:42 +00:00
Georg Brandl
84a0b8d4b6
Patch #1001604 : glob.glob() now returns unicode filenames if it was
...
given a unicode argument and os.listdir() returns unicode filenames.
(backport from rev. 54197)
2007-03-07 08:32:24 +00:00
Georg Brandl
fd13ef9c9c
Patch #812285 : allow multiple auth schemes in AbstractBasicAuthHandler.
...
(backport from rev. 54195)
2007-03-07 07:39:13 +00:00
Walter Dörwald
6a9c780cde
Document curses changes.
2007-03-06 21:16:32 +00:00
Walter Dörwald
05b5c7fe0e
Backport checkin:
...
Patch for bug #1633621 : if curses.resizeterm() or
curses.resize_term() is called, update _curses.LINES,
_curses.COLS, curses.LINES and curses.COLS.
2007-03-06 20:46:26 +00:00
Georg Brandl
62b1b001e6
Patch #1654417 : make operator.{get,set,del}slice use the full range
...
of Py_ssize_t.
(backport from rev. 54177)
2007-03-06 19:00:09 +00:00
Georg Brandl
2230d98048
Patch #1673121 : update README wrt. OSX default shell.
...
(backport from rev. 54175)
2007-03-06 18:47:40 +00:00
Georg Brandl
ffb0a804c6
Patch #1638879 : don't accept strings with embedded NUL bytes in long().
...
(backport from rev. 54173)
2007-03-06 18:44:35 +00:00
Georg Brandl
8c9b3d6a13
Patch #1602128 : clarify that richcmp methods can return NotImplemented
...
and should return True or False otherwise.
(backport from rev. 54171)
2007-03-06 18:30:12 +00:00
Georg Brandl
02d7cffb8f
Patch #1646728 : datetime.fromtimestamp fails with negative
...
fractional times. With unittest.
(backport from rev. 54167 by Guido)
2007-03-06 17:46:17 +00:00
Georg Brandl
1a74b4325c
A test case for the defaultdict KeyError bug.
...
(backport from rev. 54162)
2007-03-06 13:35:08 +00:00
Georg Brandl
75e3c527f6
Fix another reincarnation of bug #1576657 in defaultdict.
...
(backport from rev. 54160)
2007-03-06 13:33:07 +00:00
Georg Brandl
15e138a0dc
Bug #1674503 : close the file opened by execfile() in an error condition.
...
(backport)
2007-03-06 12:16:52 +00:00
Georg Brandl
8da6f1b668
Patch #1672481 : fix bug in idlelib.MultiCall.
...
(backport from rev. 54156)
2007-03-06 11:52:33 +00:00
Georg Brandl
0520e03d0f
A test case for the fix in #1674228 .
...
(backport from rev. 54154)
2007-03-06 11:51:27 +00:00
Georg Brandl
1d56c2ff6a
Patch #1671450 : add a section about subclassing builtin types to the
...
"extending and embedding" tutorial.
(backport from rev. 54150)
2007-03-06 10:02:59 +00:00
Georg Brandl
0ea891603d
Patch #1674228 : when assigning a slice (old-style), check for the
...
sq_ass_slice instead of the sq_slice slot.
(backport from rev. 54139)
2007-03-05 22:28:13 +00:00
Georg Brandl
131069b3a0
Fix a bug in test_dict and test_userdict, found at the PyPy sprint.
...
(backport from rev. 54114)
2007-03-04 17:19:02 +00:00
Georg Brandl
ebfcfb015e
Bugs #1668032 , #1668036 , #1669304 : clarify behavior of PyMem_Realloc and _Resize.
...
(backport from rev. 54088)
2007-03-02 20:30:19 +00:00
Raymond Hettinger
d882e36f45
Fix constantification of None.
2007-03-02 19:19:05 +00:00
Andrew M. Kuchling
8bc8ab5fec
Fix typo (noticed in Raymond's r54053 commit adding NamedTuple
2007-03-01 14:07:19 +00:00
Neal Norwitz
036b3beca8
Fix SF bug #1669182 . Handle string exceptions even if unraisable (ie in __del__).
2007-02-26 23:46:51 +00:00
Andrew M. Kuchling
366bf0d9cb
Markup fix
2007-02-26 23:03:03 +00:00
Georg Brandl
5f795865da
Backport from Py3k branch: fix refleak in PyString_Format.
...
(backport from rev. 53935)
2007-02-26 13:51:34 +00:00
Thomas Wouters
25e7cfa4b9
Backported r51621 from p3yk:
...
Don't use a fixed temporary name (gdbm).
Don't use our own temp name creation (dbm).
2007-02-25 22:15:04 +00:00
Neal Norwitz
a5f5f14783
Backport 53901 and 53902 to prevent crash when there is an error decoding unicode filenames
2007-02-25 16:19:21 +00:00
Raymond Hettinger
d621a6e8dc
Fixup set/dict interoperability.
2007-02-19 20:45:46 +00:00
Raymond Hettinger
b66d33fcd0
Provide an example of defaultdict with non-zero constant factory function.
2007-02-19 19:26:16 +00:00
Raymond Hettinger
1bff796983
Extend work on revision 52962: Eliminate redundant calls to PyObject_Hash().
2007-02-19 03:04:45 +00:00
Martin v. Löwis
497380f48c
Revert r53672.
2007-02-18 08:54:32 +00:00
Martin v. Löwis
b8d661bd5e
Revert r53672, just fix signature of time_isoformat instead.
2007-02-18 08:50:38 +00:00
Vinay Sajip
0c2552c073
Minor fix for currentframe (SF #1652788 ).
2007-02-17 01:37:50 +00:00