python
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)

18 years agoPatch #1638243: the compiler package is now able to correctly compile
Georg Brandl [Sat, 27 Jan 2007 17:43:07 +0000 (17:43 +0000)]
Patch #1638243: the compiler package is now able to correctly compile
a with statement; previously, executing code containing a with statement
compiled by the compiler package crashed the interpreter.
 (backport from rev. 53575)

18 years agofix typo (extraneous ")")
Fred Drake [Fri, 26 Jan 2007 16:27:45 +0000 (16:27 +0000)]
fix typo (extraneous ")")

18 years agoBackport fix for bug #1643943.
Brett Cannon [Thu, 25 Jan 2007 23:22:24 +0000 (23:22 +0000)]
Backport fix for bug #1643943.

18 years agoMerged revisions 53556 via svnmerge from
Thomas Heller [Thu, 25 Jan 2007 19:19:35 +0000 (19:19 +0000)]
Merged revisions 53556 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes

........
  r53556 | thomas.heller | 2007-01-25 19:34:14 +0100 (Do, 25 Jan 2007) | 3 lines

  Fix for #1643874: When calling SysAllocString, create a PyCObject
  which will eventually call SysFreeString to free the BSTR resource.
........

18 years agoStrengthen warning about using lock()
Andrew M. Kuchling [Wed, 24 Jan 2007 20:08:13 +0000 (20:08 +0000)]
Strengthen warning about using lock()

18 years agoClarify bug #1377858 entry.
Brett Cannon [Tue, 23 Jan 2007 22:46:12 +0000 (22:46 +0000)]
Clarify bug #1377858 entry.

18 years agoIf you created a weakref in an object's __del__ method to itself it would
Brett Cannon [Tue, 23 Jan 2007 22:41:20 +0000 (22:41 +0000)]
If you created a weakref in an object's __del__ method to itself it would
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.

18 years agoMake PyTraceBack_Here use the current thread, not the
Martin v. Löwis [Tue, 23 Jan 2007 21:11:58 +0000 (21:11 +0000)]
Make PyTraceBack_Here use the current thread, not the
frame's thread state. Fixes #1579370.

18 years agoBackport trunk revision 53527:
Thomas Wouters [Tue, 23 Jan 2007 13:54:30 +0000 (13:54 +0000)]
Backport trunk revision 53527:

SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomize

When running the interpreter in an environment that would cause it to set
stdout/stderr/stdin's encoding, having a sitecustomize that would replace
them with something other than PyFile objects would crash the interpreter.
Fix it by simply ignoring the encoding-setting for non-files.

This could do with a test, but I can think of no maintainable and portable
way to test this bug, short of adding a sitecustomize.py to the buildsystem
and have it always run with it (hmmm....)

18 years agoBug #1627316: handle error in condition/ignore pdb commands more gracefully.
Georg Brandl [Mon, 22 Jan 2007 21:23:45 +0000 (21:23 +0000)]
Bug #1627316: handle error in condition/ignore pdb commands more gracefully.
 (backport from rev. 53524)

18 years agoBug #1249573: fix rfc822.parsedate not accepting a certain date format
Georg Brandl [Mon, 22 Jan 2007 21:10:43 +0000 (21:10 +0000)]
Bug #1249573: fix rfc822.parsedate not accepting a certain date format
 (backport from rev. 53522)

18 years ago[Bug #1633678] Improve pattern used for mbox 'From' lines; add a simple test
Andrew M. Kuchling [Mon, 22 Jan 2007 20:49:44 +0000 (20:49 +0000)]
[Bug #1633678] Improve pattern used for mbox 'From' lines; add a simple test

18 years agoMake comment match the code
Andrew M. Kuchling [Mon, 22 Jan 2007 20:31:15 +0000 (20:31 +0000)]
Make comment match the code

18 years ago[Bug #1552726] Avoid unnecessary polling at the interpreter prompt when certain versi...
Andrew M. Kuchling [Mon, 22 Jan 2007 16:10:27 +0000 (16:10 +0000)]
[Bug #1552726] Avoid unnecessary polling at the interpreter prompt when certain versions of readline are being used

18 years agoUpdate version of What's New
Andrew M. Kuchling [Mon, 22 Jan 2007 15:14:15 +0000 (15:14 +0000)]
Update version of What's New

18 years agoAvoid O(N**2) bottleneck in _communicate_(). Fixes #1598181. Backport from rev. 53295.
Peter Astrand [Sun, 21 Jan 2007 15:45:25 +0000 (15:45 +0000)]
Avoid O(N**2) bottleneck in _communicate_(). Fixes #1598181. Backport from rev. 53295.

18 years agoPatch #1627441: close sockets properly in urllib2.
Georg Brandl [Sun, 21 Jan 2007 10:35:14 +0000 (10:35 +0000)]
Patch #1627441: close sockets properly in urllib2.
 (backport from rev. 53511)

18 years agoBug #1486663: don't reject keyword arguments for subclasses of builtin
Georg Brandl [Sun, 21 Jan 2007 10:28:56 +0000 (10:28 +0000)]
Bug #1486663: don't reject keyword arguments for subclasses of builtin
types.
 (backport from rev. 53509)

18 years agoAdd /GS- to Itanium build.
Martin v. Löwis [Sat, 20 Jan 2007 13:58:09 +0000 (13:58 +0000)]
Add /GS- to Itanium build.

18 years agoAdd /GS- flags for AMD64.
Martin v. Löwis [Sat, 20 Jan 2007 13:44:50 +0000 (13:44 +0000)]
Add /GS- flags for AMD64.

18 years agoSF# 1635892: Fix docs for betavariate's input parameters .
Raymond Hettinger [Fri, 19 Jan 2007 18:03:13 +0000 (18:03 +0000)]
SF# 1635892:  Fix docs for betavariate's input parameters .

18 years agoAdd UUIDs for 2.5.1 and 2.5.2
Martin v. Löwis [Fri, 19 Jan 2007 18:01:16 +0000 (18:01 +0000)]
Add UUIDs for 2.5.1 and 2.5.2

18 years agoPrefix AST symbols with _Py_. Fixes #1637022.
Martin v. Löwis [Fri, 19 Jan 2007 06:42:33 +0000 (06:42 +0000)]
Prefix AST symbols with _Py_. Fixes #1637022.

18 years agoSF #1635217, Fix unbalanced paren
Neal Norwitz [Fri, 19 Jan 2007 05:52:46 +0000 (05:52 +0000)]
SF #1635217, Fix unbalanced paren

18 years agoAdd a comment for some code I don't understand. Why would needsfree
Neal Norwitz [Thu, 18 Jan 2007 07:16:31 +0000 (07:16 +0000)]
Add a comment for some code I don't understand.  Why would needsfree
be true if we didn't malloc the code?  Seems like the code is wrong
or could use comments.

Also verify if the buildbots are working properly for the 2.5 branch.

18 years agoBug #1629125: fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs.
Georg Brandl [Wed, 17 Jan 2007 21:20:01 +0000 (21:20 +0000)]
Bug #1629125: fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs.
 (backport from rev. 53477)

18 years agoBug #1637967: missing //= operator in list.
Georg Brandl [Wed, 17 Jan 2007 21:09:07 +0000 (21:09 +0000)]
Bug #1637967: missing //= operator in list.
 (backport from rev. 53475)

18 years ago[Part of bug #1599254] Add suggestion to Mailbox docs to use Maildir, and warn user...
Andrew M. Kuchling [Wed, 17 Jan 2007 19:56:06 +0000 (19:56 +0000)]
[Part of bug #1599254] Add suggestion to Mailbox docs to use Maildir, and warn user to lock/unlock mailboxes when modifying them

18 years agoBug #1610795: ctypes.util.find_library works now on BSD systems.
Thomas Heller [Wed, 17 Jan 2007 19:55:40 +0000 (19:55 +0000)]
Bug #1610795: ctypes.util.find_library works now on BSD systems.

18 years agoMerged revisions 53402 via svnmerge from
Thomas Heller [Wed, 17 Jan 2007 19:53:24 +0000 (19:53 +0000)]
Merged revisions 53402 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes

........
  r53402 | thomas.heller | 2007-01-12 21:17:34 +0100 (Fr, 12 Jan 2007) | 6 lines

  patch #1610795: BSD version of ctypes.util.find_library, by Martin
  Kammerhofer.

  Backported from trunk.
........

18 years agoMerged revisions 53466 via svnmerge from
Thomas Heller [Wed, 17 Jan 2007 09:53:03 +0000 (09:53 +0000)]
Merged revisions 53466 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes

........
  r53466 | thomas.heller | 2007-01-17 10:40:34 +0100 (Mi, 17 Jan 2007) | 2 lines

  Replace C++ comments with C comments.
........

18 years agoFix for bug #1634343: allow specifying empty arguments on Windows
Peter Astrand [Sat, 13 Jan 2007 22:37:11 +0000 (22:37 +0000)]
Fix for bug #1634343: allow specifying empty arguments on Windows

18 years agoBlocked revisions 53361 via svnmerge
Thomas Heller [Fri, 12 Jan 2007 08:13:57 +0000 (08:13 +0000)]
Blocked revisions 53361 via svnmerge

........
  r53361 | thomas.heller | 2007-01-10 21:51:19 +0100 (Wed, 10 Jan 2007) | 1 line

  Must change the version number in the _ctypes extension as well.
........

18 years agoBlocked revisions 52388 via svnmerge
Thomas Heller [Fri, 12 Jan 2007 08:05:28 +0000 (08:05 +0000)]
Blocked revisions 52388 via svnmerge

........
  r52388 | martin.v.loewis | 2006-10-19 13:00:37 +0200 (Thu, 19 Oct 2006) | 3 lines

  Fix various minor errors in passing arguments to
  PyArg_ParseTuple.
........

18 years agoBlocked revisions 52945,53358 via svnmerge
Thomas Heller [Fri, 12 Jan 2007 08:03:54 +0000 (08:03 +0000)]
Blocked revisions 52945,53358 via svnmerge

........
  r52945 | brett.cannon | 2006-12-07 00:38:48 +0100 (Thu, 07 Dec 2006) | 3 lines

  Fix a bad assumption that all objects assigned to '__loader__' on a module
  will have a '_files' attribute.
........
  r53358 | thomas.heller | 2007-01-10 21:12:13 +0100 (Wed, 10 Jan 2007) | 1 line

  Change the ctypes version number to "1.1.0".
........

18 years agoSF #1486663 -- Allow keyword args in subclasses of set() and frozenset().
Raymond Hettinger [Thu, 11 Jan 2007 18:21:04 +0000 (18:21 +0000)]
SF #1486663 -- Allow keyword args in subclasses of set() and frozenset().

18 years ago- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
Matthias Klose [Thu, 11 Jan 2007 11:42:43 +0000 (11:42 +0000)]
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).

18 years ago- Make the documentation match the code and the docstring
Matthias Klose [Thu, 11 Jan 2007 10:25:45 +0000 (10:25 +0000)]
- Make the documentation match the code and the docstring

18 years agoMust update the version number on the extension module as well.
Thomas Heller [Wed, 10 Jan 2007 20:44:21 +0000 (20:44 +0000)]
Must update the version number on the extension module as well.

18 years agoChange the ctypes version number to "1.0.2".
Thomas Heller [Wed, 10 Jan 2007 20:07:29 +0000 (20:07 +0000)]
Change the ctypes version number to "1.0.2".

18 years agoMerged revisions 53316 via svnmerge from
Thomas Heller [Tue, 9 Jan 2007 19:52:31 +0000 (19:52 +0000)]
Merged revisions 53316 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes

........
  r53316 | thomas.heller | 2007-01-09 20:19:33 +0100 (Di, 09 Jan 2007) | 4 lines

  Verify the sizes of the basic ctypes data types against the struct
  module.

  Backport from trunk.
........

18 years agoFix zero-length corner case for iterating over a mutating deque.
Raymond Hettinger [Mon, 8 Jan 2007 18:05:53 +0000 (18:05 +0000)]
Fix zero-length corner case for iterating over a mutating deque.

18 years agoBackported changes from trunk:
Vinay Sajip [Mon, 8 Jan 2007 10:12:29 +0000 (10:12 +0000)]
Backported changes from trunk:
Made func argument in LogRecord.__init__ optional.
Improved performance of _fixupChildren.

18 years agoBackported change from trunk:
Vinay Sajip [Mon, 8 Jan 2007 10:11:58 +0000 (10:11 +0000)]
Backported change from trunk:
Made SysLogHandler more resilient in the face of syslogd failures.

18 years agoAdded relativeCreated to Formatter doc (has been in the system for a long time -...
Vinay Sajip [Mon, 8 Jan 2007 09:36:17 +0000 (09:36 +0000)]
Added relativeCreated to Formatter doc (has been in the system for a long time - was unaccountably left out of the docs and not noticed until now).
Documentation clarified to mention optional parameters.
Documentation omitted the additional parameter to LogRecord.__init__ which was added in 2.5. (See SF #1569622).

18 years agoRe-implemented fix for #1531862 once again, in a way that works with Python 2.2....
Peter Astrand [Sun, 7 Jan 2007 09:00:11 +0000 (09:00 +0000)]
Re-implemented fix for #1531862 once again, in a way that works with Python 2.2. Fixes bug #1603424.

18 years agoupdate to (c) years to include 2007
Anthony Baxter [Sat, 6 Jan 2007 04:50:44 +0000 (04:50 +0000)]
update to (c) years to include 2007

18 years agoRevisions 52418,52841,52855 have already been merged.
Thomas Heller [Fri, 5 Jan 2007 20:21:59 +0000 (20:21 +0000)]
Revisions 52418,52841,52855 have already been merged.

18 years agoBlocked revisions 52945 via svnmerge
Thomas Heller [Fri, 5 Jan 2007 19:59:21 +0000 (19:59 +0000)]
Blocked revisions 52945 via svnmerge

........
  r52945 | brett.cannon | 2006-12-07 00:38:48 +0100 (Thu, 07 Dec 2006) | 3 lines

  Fix a bad assumption that all objects assigned to '__loader__' on a module
  will have a '_files' attribute.
........

18 years agoMark changes already backported as merged, so "svnmerge avail" does
Thomas Heller [Fri, 5 Jan 2007 19:35:13 +0000 (19:35 +0000)]
Mark changes already backported as merged, so "svnmerge avail" does
not list them any longer.

18 years agoInitialized merge tracking via "svnmerge" with revisions "1-51333" from
Thomas Heller [Fri, 5 Jan 2007 19:24:12 +0000 (19:24 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-51333" from
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes

18 years ago[Bug #1622533] Make docstrings raw strings because they contain control characters...
Andrew M. Kuchling [Fri, 5 Jan 2007 14:24:36 +0000 (14:24 +0000)]
[Bug #1622533] Make docstrings raw strings because they contain control characters (\0, \1)

18 years agotypo fix
Gregory P. Smith [Fri, 5 Jan 2007 07:22:29 +0000 (07:22 +0000)]
typo fix

18 years agoBackport:
Neal Norwitz [Fri, 5 Jan 2007 05:28:50 +0000 (05:28 +0000)]
Backport:
Prevent crash on shutdown which can occur if we are finalizing
and the module dict has been cleared already and some object
raises a warning (like in a __del__).

18 years agosupport linking the _bsddb extension module against BerkeleyDB 4.5
Gregory P. Smith [Fri, 5 Jan 2007 02:09:06 +0000 (02:09 +0000)]
support linking the _bsddb extension module against BerkeleyDB 4.5
[backport of r53252]

18 years agoBug #1566280: Explicitly invoke threading._shutdown from Py_Main,
Martin v. Löwis [Thu, 4 Jan 2007 21:06:57 +0000 (21:06 +0000)]
Bug #1566280: Explicitly invoke threading._shutdown from Py_Main,
to avoid relying on atexit.

18 years agoFix stability of heapq's nlargest() and nsmallest().
Raymond Hettinger [Thu, 4 Jan 2007 17:53:16 +0000 (17:53 +0000)]
Fix stability of heapq's nlargest() and nsmallest().

18 years agoSF #1627373, fix typo in CarbonEvt.
Neal Norwitz [Thu, 4 Jan 2007 06:26:22 +0000 (06:26 +0000)]
SF #1627373, fix typo in CarbonEvt.

18 years agoFor sets with cyclical reprs, emit '...' instead of recursing.
Raymond Hettinger [Fri, 29 Dec 2006 18:49:13 +0000 (18:49 +0000)]
For sets with cyclical reprs, emit '...' instead of recursing.

18 years agoBackport trunk checkin r51565:
Thomas Wouters [Fri, 29 Dec 2006 14:42:17 +0000 (14:42 +0000)]
Backport trunk checkin r51565:

Fix SF bug #1545837: array.array borks on deepcopy. array.__deepcopy__()
needs to take an argument, even if it doesn't actually use it.