Commit Graph

36069 Commits

Author SHA1 Message Date
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
Georg Brandl 6b2a1a042d Add missing \versionadded.
(backport from rev. 53787)
2007-02-15 11:29:58 +00:00
Georg Brandl ee467d0ae7 Patch #1494140: Add documentation for the new struct.Struct object.
(backport from rev. 53785)
2007-02-15 11:29:08 +00:00
Georg Brandl d2bf6c0a06 Make functools.wraps() docs a bit clearer.
(backport from rev. 53783)
2007-02-15 10:38:03 +00:00
Martin v. Löwis d1a29c5dee Backport 53776: Ignore directory time stamps
when considering whether to rerun libffi configure.
2007-02-14 12:53:41 +00:00
Martin v. Löwis 1e335b2968 Patch #1657276: Make NETLINK_DNRTMSG conditional. 2007-02-13 12:14:29 +00:00
Martin v. Löwis f7f888a2f8 Bug #1658794: Remove extraneous 'this'. 2007-02-13 12:08:34 +00:00
Martin v. Löwis ef67690eac Patch #685268: Consider a package's __path__ in imputil. 2007-02-13 08:35:01 +00:00
Martin v. Löwis 626b2e992f Patch 1463026: Support default namespace in XMLGenerator.
Fixes #847665.
2007-02-12 12:21:41 +00:00
Lars Gustäbel f5bf3b0c71 Bug #1656581: Point out that external file objects are supposed to be
at position 0. (backport from rev. 53752)
2007-02-12 09:27:10 +00:00
Skip Montanaro 4a67a67416 backport: fix trace.py --ignore-dir 2007-02-11 18:41:56 +00:00
Georg Brandl d84f68b10f Bug #1656078: typo in in profile docs.
(backport from rev. 53697)
2007-02-09 18:48:44 +00:00
Martin v. Löwis 4b4f95d435 Update broken link. 2007-02-09 12:59:27 +00:00
Martin v. Löwis 523539de5e Bug #1600860: Search for shared python library in LIBDIR, not
lib/python/config, on "linux" and "gnu" systems.
2007-02-09 12:37:12 +00:00
Martin v. Löwis b4af42a635 Bug #1653736: Properly discard third argument to slot_nb_inplace_power. 2007-02-09 12:19:46 +00:00
Martin v. Löwis 2e8b602ac1 Bug #1653736: Complain about keyword arguments to time.isoformat. 2007-02-08 09:13:51 +00:00
Raymond Hettinger 0bafda4546 Fix docstring bug 2007-02-08 01:37:18 +00:00
Raymond Hettinger fdf7bf8305 Bypass set specific optimizations for set and frozenset subclasses. 2007-02-08 00:49:51 +00:00
Raymond Hettinger 9f0e1ea964 Do not let overflows in enumerate() and count() pass silently. 2007-02-07 23:57:05 +00:00
Raymond Hettinger bbe92887ce Silence compiler warning 2007-02-07 23:48:15 +00:00