]> granicus.if.org Git - python/log
python
17 years agoPatch #1681153: the wave module now closes a file object it opened if
Georg Brandl [Thu, 15 Mar 2007 07:42:22 +0000 (07:42 +0000)]
Patch #1681153: the wave module now closes a file object it opened if
initialization failed.
 (backport from rev. 54394)

17 years agoPatch #1680978: consistently use "alive" instead of "active" in the
Georg Brandl [Thu, 15 Mar 2007 07:38:21 +0000 (07:38 +0000)]
Patch #1680978: consistently use "alive" instead of "active" in the
thread lib doc.
 (backport from rev. 54392)

17 years agoPatch #1559413: Fix test_cmd_line if sys.executable contains a space.
Martin v. Löwis [Wed, 14 Mar 2007 20:02:38 +0000 (20:02 +0000)]
Patch #1559413: Fix test_cmd_line if sys.executable contains a space.

17 years agoDocument fixed bugs
Barry Warsaw [Wed, 14 Mar 2007 18:19:07 +0000 (18:19 +0000)]
Document fixed bugs

17 years agoPatch #1680015: Don't modify __slots__ tuple if it contains an unicode
Žiga Seilnacht [Wed, 14 Mar 2007 12:34:30 +0000 (12:34 +0000)]
Patch #1680015: Don't modify __slots__ tuple if it contains an unicode
name. Remove a reference leak that happened if the name could not be
converted to string.
 (backport from rev. 54378)

17 years agoBug #767111: fix long-standing bug in urllib which caused an
Georg Brandl [Wed, 14 Mar 2007 08:27:57 +0000 (08:27 +0000)]
Bug #767111: fix long-standing bug in urllib which caused an
AttributeError instead of an IOError when the server's response didn't
contain a valid HTTP status line.
 (backport from rev. 54376)

17 years agodoc update from HEAD. don't list "Unix, Windows" as a platform since that
Gregory P. Smith [Wed, 14 Mar 2007 07:22:35 +0000 (07:22 +0000)]
doc update from HEAD.  don't list "Unix, Windows" as a platform since that
covers everything now that Mac OS 9 isn't a popular issue.

17 years agodoc update from HEAD
Gregory P. Smith [Wed, 14 Mar 2007 07:20:47 +0000 (07:20 +0000)]
doc update from HEAD

17 years agoSF bug #1582282; decode_header() incorrectly splits not-conformant RFC
Barry Warsaw [Wed, 14 Mar 2007 04:29:06 +0000 (04:29 +0000)]
SF bug #1582282; decode_header() incorrectly splits not-conformant RFC
2047-like headers where there is no whitespace between encoded words.  This
fix changes the matching regexp to include a trailing lookahead assertion that
the closing ?= must be followed by whitespace, newline, or end-of-string.
This also changes the regexp to add the MULTILINE flag.

17 years agoInline PyImport_GetModulesReloading(). Backport from r54368.
Collin Winter [Tue, 13 Mar 2007 23:04:29 +0000 (23:04 +0000)]
Inline PyImport_GetModulesReloading(). Backport from r54368.

17 years agoPatch #1194449: correctly detect unbound methods in pydoc.
Georg Brandl [Tue, 13 Mar 2007 22:16:43 +0000 (22:16 +0000)]
Patch #1194449: correctly detect unbound methods in pydoc.
 (backport from rev. 54365)

17 years agoBug #1622896: fix a rare corner case where the bz2 module raised an
Georg Brandl [Tue, 13 Mar 2007 12:34:35 +0000 (12:34 +0000)]
Bug #1622896: fix a rare corner case where the bz2 module raised an
error in spite of a succesful compression.
 (backport from rev. 54336)

17 years agoPatch #1449244: Support Unicode strings in
Martin v. Löwis [Tue, 13 Mar 2007 10:24:14 +0000 (10:24 +0000)]
Patch #1449244: Support Unicode strings in
email.message.Message.{set_charset,get_content_charset}.

17 years agoPatch #1569798: fix a bug in distutils when building Python from a
Georg Brandl [Tue, 13 Mar 2007 10:19:35 +0000 (10:19 +0000)]
Patch #1569798: fix a bug in distutils when building Python from a
directory within sys.exec_prefix.
 (backport from rev. 54331)

17 years agoPatch #1542681: add entries for "with", "as" and "CONTEXTMANAGERS" to
Georg Brandl [Tue, 13 Mar 2007 10:07:01 +0000 (10:07 +0000)]
Patch #1542681: add entries for "with", "as" and "CONTEXTMANAGERS" to
pydoc's help keywords.
 (backport from rev. 54329)

17 years agoPatch #1679379: add documentation for fnmatch.translate().
Georg Brandl [Tue, 13 Mar 2007 07:51:04 +0000 (07:51 +0000)]
Patch #1679379: add documentation for fnmatch.translate().
 (backport from rev. 54323)

17 years agoBug #742342: make Python stop segfaulting on infinitely-recursive reload()s. Fixed...
Collin Winter [Mon, 12 Mar 2007 16:49:23 +0000 (16:49 +0000)]
Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. Fixed by patch #922167.
Backported from r54291.

17 years agoTypo fix.
Georg Brandl [Mon, 12 Mar 2007 16:15:17 +0000 (16:15 +0000)]
Typo fix.
 (backport from rev. 54292)

17 years agoBug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.
Martin v. Löwis [Mon, 12 Mar 2007 10:50:51 +0000 (10:50 +0000)]
Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.

17 years agoTokio Kikuchi's fix for SF bug #1629369; folding whitespace allowed in the
Barry Warsaw [Mon, 12 Mar 2007 03:21:28 +0000 (03:21 +0000)]
Tokio Kikuchi's fix for SF bug #1629369; folding whitespace allowed in the
display name of an email address, e.g.

Foo
\tBar <foo@example.com>

Test case added by Barry.

17 years agoPatch #1678662: ftp.python.org does not exist. So the testcode in urllib.py must...
Collin Winter [Mon, 12 Mar 2007 01:57:49 +0000 (01:57 +0000)]
Patch #1678662: ftp.python.org does not exist. So the testcode in urllib.py must use a more
stable FTP.
Backported from r54278.

17 years agoFix resource leak reported in SF #1516995.
Vinay Sajip [Sun, 11 Mar 2007 18:37:20 +0000 (18:37 +0000)]
Fix resource leak reported in SF #1516995.

17 years agoPatch #1192590: Fix pdb's "ignore" and "condition" commands so they trap the IndexErr...
Collin Winter [Sun, 11 Mar 2007 16:04:01 +0000 (16:04 +0000)]
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.

17 years agoPatch #1675981: remove unreachable code from type.__new__() method.
Žiga Seilnacht [Sun, 11 Mar 2007 16:01:51 +0000 (16:01 +0000)]
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)

17 years agoAdd missing "return" statements in exception handler.
Georg Brandl [Sun, 11 Mar 2007 08:28:50 +0000 (08:28 +0000)]
Add missing "return" statements in exception handler.
 (backport from rev. 54268)

17 years agoConvert an assert to a raise so it works even in the presence of -O.
Collin Winter [Sat, 10 Mar 2007 14:35:22 +0000 (14:35 +0000)]
Convert an assert to a raise so it works even in the presence of -O.

17 years agoRevert rev. 54198, it's not really backwards compatible.
Georg Brandl [Sat, 10 Mar 2007 08:06:14 +0000 (08:06 +0000)]
Revert rev. 54198, it's not really backwards compatible.

17 years agoBug #1531963: Make SocketServer.TCPServer's server_address always be equal to calling...
Collin Winter [Sat, 10 Mar 2007 03:31:44 +0000 (03:31 +0000)]
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.

17 years agoMerged revisions 54248 via svnmerge from
Thomas Heller [Fri, 9 Mar 2007 20:48:57 +0000 (20:48 +0000)]
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.
........

17 years agoMerged revisions 54244 via svnmerge from
Thomas Heller [Fri, 9 Mar 2007 20:21:16 +0000 (20:21 +0000)]
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.
........

17 years agoFix SF #1676971, Complex OverflowError has a typo
Neal Norwitz [Fri, 9 Mar 2007 06:01:28 +0000 (06:01 +0000)]
Fix SF #1676971, Complex OverflowError has a typo

17 years agoManual backport of r54233. This will help prevent spurious Buildbot failures
Brett Cannon [Fri, 9 Mar 2007 04:57:00 +0000 (04:57 +0000)]
Manual backport of r54233.  This will help prevent spurious Buildbot failures
by HTTPS connections that time out.

17 years agoSF #1637850: make_table in difflib did not work with unicode
Raymond Hettinger [Thu, 8 Mar 2007 21:30:55 +0000 (21:30 +0000)]
SF #1637850:  make_table in difflib did not work with unicode

17 years agoBackported r54226 from p3yk: Move test_unittest, test_doctest and test_doctest2 highe...
Collin Winter [Thu, 8 Mar 2007 19:58:46 +0000 (19:58 +0000)]
Backported r54226 from p3yk: Move test_unittest, test_doctest and test_doctest2 higher up in the testing order.

17 years agoSF 1676321: empty() returned wrong result
Raymond Hettinger [Thu, 8 Mar 2007 19:23:25 +0000 (19:23 +0000)]
SF 1676321:  empty() returned wrong result

17 years agoAdd a NEWS entry for rev. 54207,8.
Georg Brandl [Thu, 8 Mar 2007 18:37:35 +0000 (18:37 +0000)]
Add a NEWS entry for rev. 54207,8.
 (backport from rev. 54222)

17 years agoFix #1676656: \em is different from \emph...
Georg Brandl [Thu, 8 Mar 2007 17:49:17 +0000 (17:49 +0000)]
Fix #1676656: \em is different from \emph...
 (backport from rev. 54220)

17 years agoBackport skipping fromtimestamp(negative value) tests on Windows (from rev. 54209)
Georg Brandl [Wed, 7 Mar 2007 16:12:05 +0000 (16:12 +0000)]
Backport skipping fromtimestamp(negative value) tests on Windows (from rev. 54209)

17 years agobackport rev. 54207: add a few sanity checks in unittest.TestSuite.addTest(s).
Georg Brandl [Wed, 7 Mar 2007 11:55:25 +0000 (11:55 +0000)]
backport rev. 54207: add a few sanity checks in unittest.TestSuite.addTest(s).

17 years agoPatch #1669331: clarify shutil.copyfileobj() behavior wrt. file position.
Georg Brandl [Wed, 7 Mar 2007 09:34:52 +0000 (09:34 +0000)]
Patch #1669331: clarify shutil.copyfileobj() behavior wrt. file position.
 (backport from rev. 54202)

17 years agoTypo fix.
Georg Brandl [Wed, 7 Mar 2007 09:17:42 +0000 (09:17 +0000)]
Typo fix.

17 years agoPatch #1001604: glob.glob() now returns unicode filenames if it was
Georg Brandl [Wed, 7 Mar 2007 08:32:24 +0000 (08:32 +0000)]
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)

17 years agoPatch #812285: allow multiple auth schemes in AbstractBasicAuthHandler.
Georg Brandl [Wed, 7 Mar 2007 07:39:13 +0000 (07:39 +0000)]
Patch #812285: allow multiple auth schemes in AbstractBasicAuthHandler.
 (backport from rev. 54195)

17 years agoDocument curses changes.
Walter Dörwald [Tue, 6 Mar 2007 21:16:32 +0000 (21:16 +0000)]
Document curses changes.

17 years agoBackport checkin:
Walter Dörwald [Tue, 6 Mar 2007 20:46:26 +0000 (20:46 +0000)]
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.

17 years agoPatch #1654417: make operator.{get,set,del}slice use the full range
Georg Brandl [Tue, 6 Mar 2007 19:00:09 +0000 (19:00 +0000)]
Patch #1654417: make operator.{get,set,del}slice use the full range
of Py_ssize_t.
 (backport from rev. 54177)

17 years agoPatch #1673121: update README wrt. OSX default shell.
Georg Brandl [Tue, 6 Mar 2007 18:47:40 +0000 (18:47 +0000)]
Patch #1673121: update README wrt. OSX default shell.
 (backport from rev. 54175)

17 years agoPatch #1638879: don't accept strings with embedded NUL bytes in long().
Georg Brandl [Tue, 6 Mar 2007 18:44:35 +0000 (18:44 +0000)]
Patch #1638879: don't accept strings with embedded NUL bytes in long().
  (backport from rev. 54173)

17 years agoPatch #1602128: clarify that richcmp methods can return NotImplemented
Georg Brandl [Tue, 6 Mar 2007 18:30:12 +0000 (18:30 +0000)]
Patch #1602128: clarify that richcmp methods can return NotImplemented
and should return True or False otherwise.
 (backport from rev. 54171)

17 years agoPatch #1646728: datetime.fromtimestamp fails with negative
Georg Brandl [Tue, 6 Mar 2007 17:46:17 +0000 (17:46 +0000)]
Patch #1646728: datetime.fromtimestamp fails with negative
fractional times.  With unittest.
  (backport from rev. 54167 by Guido)

17 years agoA test case for the defaultdict KeyError bug.
Georg Brandl [Tue, 6 Mar 2007 13:35:08 +0000 (13:35 +0000)]
A test case for the defaultdict KeyError bug.
 (backport from rev. 54162)

17 years agoFix another reincarnation of bug #1576657 in defaultdict.
Georg Brandl [Tue, 6 Mar 2007 13:33:07 +0000 (13:33 +0000)]
Fix another reincarnation of bug #1576657 in defaultdict.
  (backport from rev. 54160)

17 years agoBug #1674503: close the file opened by execfile() in an error condition.
Georg Brandl [Tue, 6 Mar 2007 12:16:52 +0000 (12:16 +0000)]
Bug #1674503: close the file opened by execfile() in an error condition.
 (backport)

17 years agoPatch #1672481: fix bug in idlelib.MultiCall.
Georg Brandl [Tue, 6 Mar 2007 11:52:33 +0000 (11:52 +0000)]
Patch #1672481: fix bug in idlelib.MultiCall.
 (backport from rev. 54156)

17 years agoA test case for the fix in #1674228.
Georg Brandl [Tue, 6 Mar 2007 11:51:27 +0000 (11:51 +0000)]
A test case for the fix in #1674228.
 (backport from rev. 54154)

17 years agoPatch #1671450: add a section about subclassing builtin types to the
Georg Brandl [Tue, 6 Mar 2007 10:02:59 +0000 (10:02 +0000)]
Patch #1671450: add a section about subclassing builtin types to the
"extending and embedding" tutorial.
 (backport from rev. 54150)

17 years agoPatch #1674228: when assigning a slice (old-style), check for the
Georg Brandl [Mon, 5 Mar 2007 22:28:13 +0000 (22:28 +0000)]
Patch #1674228: when assigning a slice (old-style), check for the
sq_ass_slice instead of the sq_slice slot.
 (backport from rev. 54139)

17 years agoFix a bug in test_dict and test_userdict, found at the PyPy sprint.
Georg Brandl [Sun, 4 Mar 2007 17:19:02 +0000 (17:19 +0000)]
Fix a bug in test_dict and test_userdict, found at the PyPy sprint.
 (backport from rev. 54114)

17 years agoBugs #1668032, #1668036, #1669304: clarify behavior of PyMem_Realloc and _Resize.
Georg Brandl [Fri, 2 Mar 2007 20:30:19 +0000 (20:30 +0000)]
Bugs #1668032, #1668036, #1669304: clarify behavior of PyMem_Realloc and _Resize.
 (backport from rev. 54088)

17 years agoFix constantification of None.
Raymond Hettinger [Fri, 2 Mar 2007 19:19:05 +0000 (19:19 +0000)]
Fix constantification of None.

18 years agoFix typo (noticed in Raymond's r54053 commit adding NamedTuple
Andrew M. Kuchling [Thu, 1 Mar 2007 14:07:19 +0000 (14:07 +0000)]
Fix typo (noticed in Raymond's r54053 commit adding NamedTuple

18 years agoFix SF bug #1669182. Handle string exceptions even if unraisable (ie in __del__).
Neal Norwitz [Mon, 26 Feb 2007 23:46:51 +0000 (23:46 +0000)]
Fix SF bug #1669182.  Handle string exceptions even if unraisable (ie in __del__).

18 years agoMarkup fix
Andrew M. Kuchling [Mon, 26 Feb 2007 23:03:03 +0000 (23:03 +0000)]
Markup fix

18 years agoBackport from Py3k branch: fix refleak in PyString_Format.
Georg Brandl [Mon, 26 Feb 2007 13:51:34 +0000 (13:51 +0000)]
Backport from Py3k branch: fix refleak in PyString_Format.
 (backport from rev. 53935)

18 years agoBackported r51621 from p3yk:
Thomas Wouters [Sun, 25 Feb 2007 22:15:04 +0000 (22:15 +0000)]
Backported r51621 from p3yk:

Don't use a fixed temporary name (gdbm).
Don't use our own temp name creation (dbm).

18 years agoBackport 53901 and 53902 to prevent crash when there is an error decoding unicode...
Neal Norwitz [Sun, 25 Feb 2007 16:19:21 +0000 (16:19 +0000)]
Backport 53901 and 53902 to prevent crash when there is an error decoding unicode filenames

18 years agoFixup set/dict interoperability.
Raymond Hettinger [Mon, 19 Feb 2007 20:45:46 +0000 (20:45 +0000)]
Fixup set/dict interoperability.

18 years agoProvide an example of defaultdict with non-zero constant factory function.
Raymond Hettinger [Mon, 19 Feb 2007 19:26:16 +0000 (19:26 +0000)]
Provide an example of defaultdict with non-zero constant factory function.

18 years agoExtend work on revision 52962: Eliminate redundant calls to PyObject_Hash().
Raymond Hettinger [Mon, 19 Feb 2007 03:04:45 +0000 (03:04 +0000)]
Extend work on revision 52962:  Eliminate redundant calls to PyObject_Hash().

18 years agoRevert r53672.
Martin v. Löwis [Sun, 18 Feb 2007 08:54:32 +0000 (08:54 +0000)]
Revert r53672.

18 years agoRevert r53672, just fix signature of time_isoformat instead.
Martin v. Löwis [Sun, 18 Feb 2007 08:50:38 +0000 (08:50 +0000)]
Revert r53672, just fix signature of time_isoformat instead.

18 years agoMinor fix for currentframe (SF #1652788).
Vinay Sajip [Sat, 17 Feb 2007 01:37:50 +0000 (01:37 +0000)]
Minor fix for currentframe (SF #1652788).

18 years agoAdd missing \versionadded.
Georg Brandl [Thu, 15 Feb 2007 11:29:58 +0000 (11:29 +0000)]
Add missing \versionadded.
 (backport from rev. 53787)

18 years agoPatch #1494140: Add documentation for the new struct.Struct object.
Georg Brandl [Thu, 15 Feb 2007 11:29:08 +0000 (11:29 +0000)]
Patch #1494140: Add documentation for the new struct.Struct object.
 (backport from rev. 53785)

18 years agoMake functools.wraps() docs a bit clearer.
Georg Brandl [Thu, 15 Feb 2007 10:38:03 +0000 (10:38 +0000)]
Make functools.wraps() docs a bit clearer.
 (backport from rev. 53783)

18 years agoBackport 53776: Ignore directory time stamps
Martin v. Löwis [Wed, 14 Feb 2007 12:53:41 +0000 (12:53 +0000)]
Backport 53776: Ignore directory time stamps
when considering whether to rerun libffi configure.

18 years agoPatch #1657276: Make NETLINK_DNRTMSG conditional.
Martin v. Löwis [Tue, 13 Feb 2007 12:14:29 +0000 (12:14 +0000)]
Patch #1657276: Make NETLINK_DNRTMSG conditional.

18 years agoBug #1658794: Remove extraneous 'this'.
Martin v. Löwis [Tue, 13 Feb 2007 12:08:34 +0000 (12:08 +0000)]
Bug #1658794: Remove extraneous 'this'.

18 years agoPatch #685268: Consider a package's __path__ in imputil.
Martin v. Löwis [Tue, 13 Feb 2007 08:35:01 +0000 (08:35 +0000)]
Patch #685268: Consider a package's __path__ in imputil.

18 years agoPatch 1463026: Support default namespace in XMLGenerator.
Martin v. Löwis [Mon, 12 Feb 2007 12:21:41 +0000 (12:21 +0000)]
Patch 1463026: Support default namespace in XMLGenerator.
Fixes #847665.

18 years agoBug #1656581: Point out that external file objects are supposed to be
Lars Gustäbel [Mon, 12 Feb 2007 09:27:10 +0000 (09:27 +0000)]
Bug #1656581: Point out that external file objects are supposed to be
at position 0. (backport from rev. 53752)

18 years agobackport: fix trace.py --ignore-dir
Skip Montanaro [Sun, 11 Feb 2007 18:41:56 +0000 (18:41 +0000)]
backport: fix trace.py --ignore-dir

18 years agoBug #1656078: typo in in profile docs.
Georg Brandl [Fri, 9 Feb 2007 18:48:44 +0000 (18:48 +0000)]
Bug #1656078: typo in in profile docs.
 (backport from rev. 53697)

18 years agoUpdate broken link.
Martin v. Löwis [Fri, 9 Feb 2007 12:59:27 +0000 (12:59 +0000)]
Update broken link.

18 years agoBug #1600860: Search for shared python library in LIBDIR, not
Martin v. Löwis [Fri, 9 Feb 2007 12:37:12 +0000 (12:37 +0000)]
Bug #1600860: Search for shared python library in LIBDIR, not
lib/python/config, on "linux" and "gnu" systems.

18 years agoBug #1653736: Properly discard third argument to slot_nb_inplace_power.
Martin v. Löwis [Fri, 9 Feb 2007 12:19:46 +0000 (12:19 +0000)]
Bug #1653736: Properly discard third argument to slot_nb_inplace_power.

18 years agoBug #1653736: Complain about keyword arguments to time.isoformat.
Martin v. Löwis [Thu, 8 Feb 2007 09:13:51 +0000 (09:13 +0000)]
Bug #1653736: Complain about keyword arguments to time.isoformat.

18 years agoFix docstring bug
Raymond Hettinger [Thu, 8 Feb 2007 01:37:18 +0000 (01:37 +0000)]
Fix docstring bug

18 years agoBypass set specific optimizations for set and frozenset subclasses.
Raymond Hettinger [Thu, 8 Feb 2007 00:49:51 +0000 (00:49 +0000)]
Bypass set specific optimizations for set and frozenset subclasses.

18 years agoDo not let overflows in enumerate() and count() pass silently.
Raymond Hettinger [Wed, 7 Feb 2007 23:57:05 +0000 (23:57 +0000)]
Do not let overflows in enumerate() and count() pass silently.

18 years agoSilence compiler warning
Raymond Hettinger [Wed, 7 Feb 2007 23:48:15 +0000 (23:48 +0000)]
Silence compiler warning

18 years agoBug #1575169: operator.isSequenceType() now returns False for subclasses of dict.
Raymond Hettinger [Wed, 7 Feb 2007 22:12:01 +0000 (22:12 +0000)]
Bug #1575169: operator.isSequenceType() now returns False for subclasses of dict.

18 years agoCheck for a common user error with defaultdict().
Raymond Hettinger [Wed, 7 Feb 2007 21:40:49 +0000 (21:40 +0000)]
Check for a common user error with defaultdict().

18 years agoSF: 1397711 Set docs conflated immutable and hashable
Raymond Hettinger [Wed, 7 Feb 2007 21:03:24 +0000 (21:03 +0000)]
SF: 1397711 Set docs conflated immutable and hashable

18 years agoSF #1615701: make d.update(m) honor __getitem__() and keys() in dict subclasses
Raymond Hettinger [Wed, 7 Feb 2007 20:01:28 +0000 (20:01 +0000)]
SF #1615701:  make d.update(m) honor __getitem__() and keys() in dict subclasses

18 years agoApplied patch 1124861.3.patch to solve bug #1124861: Automatically create pipes on...
Peter Astrand [Tue, 6 Feb 2007 15:41:46 +0000 (15:41 +0000)]
Applied patch 1124861.3.patch to solve bug #1124861: Automatically create pipes on Windows, if GetStdHandle fails. Backport from rev 53646.

18 years agoBug #1648179: set.update() not recognizing __iter__ overrides in dict subclasses.
Raymond Hettinger [Thu, 1 Feb 2007 21:01:21 +0000 (21:01 +0000)]
Bug #1648179:  set.update() not recognizing __iter__ overrides in dict subclasses.

18 years ago[Patch #783050 from Patrick Lynch] The emulation of forkpty() is incorrect;
Georg Brandl [Wed, 31 Jan 2007 07:48:49 +0000 (07:48 +0000)]
[Patch #783050 from Patrick Lynch] The emulation of forkpty() is incorrect;
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.

18 years agoBug #1648191: typo in docs.
Georg Brandl [Tue, 30 Jan 2007 20:21:35 +0000 (20:21 +0000)]
Bug #1648191: typo in docs.
 (backport from rev. 53603)

18 years agoBug #1645944: os.access now returns bool but docstring is not updated
Georg Brandl [Sat, 27 Jan 2007 19:38:56 +0000 (19:38 +0000)]
Bug #1645944: os.access now returns bool but docstring is not updated
 (backport from rev. 53579)