python
12 years ago#13934: document sqlite version strings.
R David Murray [Fri, 11 Jan 2013 01:22:57 +0000 (20:22 -0500)]
#13934: document sqlite version strings.

12 years agouse PyInt_FromSsize_t instead of PyLong_FromSsize_t (#10182)
Benjamin Peterson [Thu, 10 Jan 2013 16:37:47 +0000 (10:37 -0600)]
use PyInt_FromSsize_t instead of PyLong_FromSsize_t (#10182)

12 years ago#15545: sort iterdump via SQL instead of in python code
R David Murray [Thu, 10 Jan 2013 16:30:51 +0000 (11:30 -0500)]
#15545: sort iterdump via SQL instead of in python code

Although there is not a regression in Python2, we make the same update here to
keep the code bases in sync.

(The fix for issue 9750 introduced a regression in Python 3 by sorting the row
objects returned by fetchall.  But if a row_factory such as sqlite3.Row is
used, the rows may not be sortable (in Python3), which leads to an exception.
The sorting is still a nice idea, so the patch moves the sort into the sql.)

Fix and test by Peter Otten.

12 years agoIssue #15782: Prevent compile errors of OS X Carbon modules _Fm, _Qd, and
Ned Deily [Thu, 10 Jan 2013 06:04:35 +0000 (22:04 -0800)]
Issue #15782: Prevent compile errors of OS X Carbon modules _Fm, _Qd, and
_Qdoffs when compiling with an SDK of 10.7 or later.  The OS X APIs they
wrap have long been deprecated and have now been removed with 10.7.
These modules were already empty for 64-bit builds and have been removed
in Python 3.  (Original patch by Ronald Oussoren.)

12 years agoIssue #11461: Fix the incremental UTF-16 decoder. Original patch by
Serhiy Storchaka [Tue, 8 Jan 2013 21:12:00 +0000 (23:12 +0200)]
Issue #11461: Fix the incremental UTF-16 decoder. Original patch by
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.

12 years agoFix out of bound read in UTF-32 decoder on "narrow Unicode" builds.
Serhiy Storchaka [Tue, 8 Jan 2013 20:43:18 +0000 (22:43 +0200)]
Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds.

12 years agoIssue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.
Charles-François Natali [Tue, 8 Jan 2013 18:47:00 +0000 (19:47 +0100)]
Issue #16836: Enable IPv6 support even if IPv6 is disabled on the build host.

12 years agoIssue #16884: Updated docs to use 'note' directives.
Vinay Sajip [Tue, 8 Jan 2013 11:18:42 +0000 (11:18 +0000)]
Issue #16884: Updated docs to use 'note' directives.

12 years ago#16877: Add mention that shell-style path expansions are not automatic.
R David Murray [Sun, 6 Jan 2013 21:14:57 +0000 (16:14 -0500)]
#16877: Add mention that shell-style path expansions are not automatic.

12 years ago#16862: remove outdated statements about Stackless.
Ezio Melotti [Sat, 5 Jan 2013 05:37:47 +0000 (07:37 +0200)]
#16862: remove outdated statements about Stackless.

12 years agoCleanup a few minor things.
Ezio Melotti [Sat, 5 Jan 2013 05:36:54 +0000 (07:36 +0200)]
Cleanup a few minor things.

12 years ago#13094: add Programming FAQ entry about the behavior of closures.
Ezio Melotti [Fri, 4 Jan 2013 22:49:48 +0000 (00:49 +0200)]
#13094: add Programming FAQ entry about the behavior of closures.

12 years agoIssue #16747: Reflow iterable glossary entry to match 3.x change e19ed347523e.
Chris Jerdonek [Fri, 4 Jan 2013 12:41:34 +0000 (04:41 -0800)]
Issue #16747: Reflow iterable glossary entry to match 3.x change e19ed347523e.

12 years agodrop email (closes #16857)
Benjamin Peterson [Fri, 4 Jan 2013 04:34:19 +0000 (20:34 -0800)]
drop email (closes #16857)

12 years agoIssue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB
Victor Stinner [Thu, 3 Jan 2013 02:33:21 +0000 (03:33 +0100)]
Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GB

12 years agoissue 10527: fix missing import
Giampaolo Rodola' [Thu, 3 Jan 2013 01:53:28 +0000 (02:53 +0100)]
issue 10527: fix missing import

12 years agoIssue #16828: Fix error incorrectly raised by bz2.compress('').
Nadeem Vawda [Wed, 2 Jan 2013 21:59:51 +0000 (22:59 +0100)]
Issue #16828: Fix error incorrectly raised by bz2.compress('').

Patch by Martin Packman.

12 years agountabify
Benjamin Peterson [Wed, 2 Jan 2013 18:25:15 +0000 (12:25 -0600)]
untabify

12 years agoadd Tom Tromey to ACKS
Benjamin Peterson [Wed, 2 Jan 2013 18:22:11 +0000 (12:22 -0600)]
add Tom Tromey to ACKS

12 years agocall PyErr_Clear() when ignoring error from PyNumber_Int (closes #15516)
Benjamin Peterson [Wed, 2 Jan 2013 18:21:32 +0000 (12:21 -0600)]
call PyErr_Clear() when ignoring error from PyNumber_Int (closes #15516)

Patch from Tom Tromey.

12 years agomerge heads
Benjamin Peterson [Wed, 2 Jan 2013 15:37:33 +0000 (09:37 -0600)]
merge heads

12 years agoensure the attribute name string is initalized before using it (closes #16839)
Benjamin Peterson [Wed, 2 Jan 2013 15:36:23 +0000 (09:36 -0600)]
ensure the attribute name string is initalized before using it (closes #16839)

12 years agoFix method name in documentation (__setstate__ --> __getstate__)
Eli Bendersky [Wed, 2 Jan 2013 14:02:23 +0000 (06:02 -0800)]
Fix method name in documentation (__setstate__ --> __getstate__)

12 years agoFix incorrect grammar in Misc/NEWS.
Serhiy Storchaka [Wed, 2 Jan 2013 09:56:58 +0000 (11:56 +0200)]
Fix incorrect grammar in Misc/NEWS.

12 years agoget the core to compile --disable-unicode
Benjamin Peterson [Wed, 2 Jan 2013 05:04:16 +0000 (23:04 -0600)]
get the core to compile --disable-unicode

12 years agoIssue #16819: IDLE method completion now correctly works for unicode literals.
Serhiy Storchaka [Tue, 1 Jan 2013 20:27:45 +0000 (22:27 +0200)]
Issue #16819: IDLE method completion now correctly works for unicode literals.

12 years agoUpdate copyright dates in Mac plists.
Ned Deily [Tue, 1 Jan 2013 20:06:15 +0000 (12:06 -0800)]
Update copyright dates in Mac plists.

12 years agoIssue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.
Richard Oudkerk [Tue, 1 Jan 2013 17:25:09 +0000 (17:25 +0000)]
Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.

12 years agoupdate another year
Benjamin Peterson [Tue, 1 Jan 2013 03:44:00 +0000 (21:44 -0600)]
update another year

12 years agomerge heads
Benjamin Peterson [Tue, 1 Jan 2013 03:40:42 +0000 (21:40 -0600)]
merge heads

12 years agobring Python into 2013
Benjamin Peterson [Tue, 1 Jan 2013 03:37:21 +0000 (21:37 -0600)]
bring Python into 2013

12 years agoIssue #14958: backport to 2.7.x from 3.3 (patch by Roger Serwy)
Ned Deily [Mon, 31 Dec 2012 23:06:38 +0000 (15:06 -0800)]
Issue #14958: backport to 2.7.x from 3.3 (patch by Roger Serwy)

12 years agoFix issue 10527: make multiprocessing use poll() instead of select() if available.
Giampaolo Rodola' [Mon, 31 Dec 2012 16:23:09 +0000 (17:23 +0100)]
Fix issue 10527: make multiprocessing use poll() instead of select() if available.

12 years agoIssue #16645: Fix hardlink extracting test for tarfile.
Serhiy Storchaka [Sun, 30 Dec 2012 18:15:10 +0000 (20:15 +0200)]
Issue #16645: Fix hardlink extracting test for tarfile.

12 years agoFix docstring in curses (#16782)
Andrew Svetlov [Sat, 29 Dec 2012 21:09:32 +0000 (23:09 +0200)]
Fix docstring in curses (#16782)

12 years agoIssue #16485: Fix file descriptor not being closed if file header patching fails...
Serhiy Storchaka [Sat, 29 Dec 2012 20:25:59 +0000 (22:25 +0200)]
Issue #16485: Fix file descriptor not being closed if file header patching fails on closing of aifc file.

12 years agoBackport Python 3.2 fix for issue #12065, and add another test for SSLSocket.connect_...
Antoine Pitrou [Fri, 28 Dec 2012 18:03:43 +0000 (19:03 +0100)]
Backport Python 3.2 fix for issue #12065, and add another test for SSLSocket.connect_ex().

12 years agoMerge heads
Serhiy Storchaka [Fri, 28 Dec 2012 08:16:47 +0000 (10:16 +0200)]
Merge heads

12 years agoMake the from_iterable() recipe more usable.
Raymond Hettinger [Fri, 28 Dec 2012 08:03:30 +0000 (00:03 -0800)]
Make the from_iterable() recipe more usable.

The code isn't exactly equivalent because a classmethod would
only make sense inside a chain class, and it would need "cls"
as a first argument, and it would need to return an instance
of "chain" rather than a generator.

The updated example drops the @classmethod decorator so that
it can be used standalone:  list(from_iterable(['abc', 'def']))
This should be communicate what from_iterable does.

12 years agoIssue #16761: Raise TypeError when int() or long() called with base argument only.
Serhiy Storchaka [Fri, 28 Dec 2012 07:31:59 +0000 (09:31 +0200)]
Issue #16761: Raise TypeError when int() or long() called with base argument only.

12 years agoIssue #15324: Fix regrtest parsing of --fromfile and --randomize options.
Chris Jerdonek [Fri, 28 Dec 2012 02:14:01 +0000 (18:14 -0800)]
Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.

12 years ago#16796: fix typo. Patch by Michael Schurter.
Ezio Melotti [Thu, 27 Dec 2012 23:59:24 +0000 (01:59 +0200)]
#16796: fix typo.  Patch by Michael Schurter.

12 years agoIssue #16792: Use assertIs() to test identity.
Serhiy Storchaka [Thu, 27 Dec 2012 22:44:20 +0000 (00:44 +0200)]
Issue #16792: Use assertIs() to test identity.

12 years agoIssue #16793. Replace deprecated unittest asserts with modern counterparts.
Serhiy Storchaka [Thu, 27 Dec 2012 22:32:19 +0000 (00:32 +0200)]
Issue #16793. Replace deprecated unittest asserts with modern counterparts.

12 years agoIssue #16792: Mark small ints test as CPython-only.
Serhiy Storchaka [Thu, 27 Dec 2012 21:07:00 +0000 (23:07 +0200)]
Issue #16792: Mark small ints test as CPython-only.

12 years agoIssue #16790: add some of the recent issue #16045 int tests to test_long.
Chris Jerdonek [Thu, 27 Dec 2012 20:53:29 +0000 (12:53 -0800)]
Issue #16790: add some of the recent issue #16045 int tests to test_long.

This patch also provides a simple way to share tests going forward
between test_int and test_long.

12 years agoFix #16759. Convert DWORD registry values using unsigned long.
Brian Curtin [Thu, 27 Dec 2012 20:37:06 +0000 (14:37 -0600)]
Fix #16759. Convert DWORD registry values using unsigned long.

When converting REG_DWORD registry values into Python, the conversion
needs to be made from an *unsigned* long (k instead of i) to match the
DWORD type.

12 years agoNull merge.
Serhiy Storchaka [Thu, 27 Dec 2012 20:00:12 +0000 (22:00 +0200)]
Null merge.

12 years agoIssue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Serhiy Storchaka [Thu, 27 Dec 2012 19:34:23 +0000 (21:34 +0200)]
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.

12 years agoFix #14420. Check for PyLong as well as PyInt when converting in Py2Reg.
Brian Curtin [Thu, 27 Dec 2012 18:28:51 +0000 (12:28 -0600)]
Fix #14420. Check for PyLong as well as PyInt when converting in Py2Reg.

This fixes a ValueError seen in winreg.SetValueEx when passed long
winreg.REG_DWORD values that should be supported by the underlying API.

12 years ago#16618: Add more glob regression tests
Hynek Schlawack [Thu, 27 Dec 2012 09:24:21 +0000 (10:24 +0100)]
#16618: Add more glob regression tests

Mostly about symlinks and str/unicode behavior.

Patch by Serhiy Storchaka.

12 years agoCloses #16789: :meth:`quit` links to constants instead of own module
Jesus Cea [Wed, 26 Dec 2012 15:46:04 +0000 (16:46 +0100)]
Closes #16789: :meth:`quit` links to constants instead of own module

12 years agoIssue #16702: Skip proxies for localhost in urllib2_localnet tests
Senthil Kumaran [Wed, 26 Dec 2012 09:45:22 +0000 (01:45 -0800)]
Issue #16702: Skip proxies for localhost in urllib2_localnet tests

12 years agoAdd additional links and index entries for "argument" and "parameter".
Chris Jerdonek [Tue, 25 Dec 2012 22:50:21 +0000 (14:50 -0800)]
Add additional links and index entries for "argument" and "parameter".

This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the
commits referenced there).

12 years agoIssue #14574: Ignore socket errors raised when flushing a connection on close.
Kristján Valur Jónsson [Tue, 25 Dec 2012 22:46:32 +0000 (22:46 +0000)]
Issue #14574: Ignore socket errors raised when flushing a connection on close.

12 years agorename MathcObject to match object in doctrings for re module (#16760)
Andrew Svetlov [Tue, 25 Dec 2012 16:50:03 +0000 (18:50 +0200)]
rename MathcObject to match object in doctrings for re module (#16760)

12 years ago#16760: use ref:`match-objects` instead of :class:`MatchObject`.
Ezio Melotti [Tue, 25 Dec 2012 16:10:49 +0000 (18:10 +0200)]
#16760: use ref:`match-objects` instead of :class:`MatchObject`.

12 years ago#16677: rename section header and fix markup.
Ezio Melotti [Tue, 25 Dec 2012 13:45:15 +0000 (15:45 +0200)]
#16677: rename section header and fix markup.

12 years agoissue #879399
Kristján Valur Jónsson [Tue, 25 Dec 2012 13:04:50 +0000 (13:04 +0000)]
issue #879399
Fix line buffering of socket._fileobject

12 years ago#16666: document default values for socket.getaddrinfo in the text to clarify that...
Ezio Melotti [Tue, 25 Dec 2012 12:45:55 +0000 (14:45 +0200)]
#16666: document default values for socket.getaddrinfo in the text to clarify that it doesn't accept keyword args.

12 years ago#16765: remove unused import.
Ezio Melotti [Tue, 25 Dec 2012 12:25:47 +0000 (14:25 +0200)]
#16765: remove unused import.

12 years agoFix issue16713 - tel url parsing with params
Senthil Kumaran [Mon, 24 Dec 2012 21:56:54 +0000 (13:56 -0800)]
Fix issue16713 - tel url parsing with params

12 years agoKeep ref to ECHILD in local scope (#16650)
Andrew Svetlov [Mon, 24 Dec 2012 18:09:27 +0000 (20:09 +0200)]
Keep ref to ECHILD in local scope (#16650)

12 years agoIssue #13863: fix incorrect .pyc timestamps on Windows / NTFS (apparently due to...
Mark Dickinson [Mon, 24 Dec 2012 16:33:18 +0000 (16:33 +0000)]
Issue #13863: fix incorrect .pyc timestamps on Windows / NTFS (apparently due to buggy fstat)

12 years agoIssue #16511: Use default IDLE width and height if config param is not valid.
Andrew Svetlov [Mon, 24 Dec 2012 11:17:59 +0000 (13:17 +0200)]
Issue #16511: Use default IDLE width and height if config param is not valid.

Patch Serhiy Storchaka.

12 years agoIssue #16443: Add docstrings to regular expression match objects.
Andrew Svetlov [Sun, 23 Dec 2012 18:09:01 +0000 (20:09 +0200)]
Issue #16443: Add docstrings to regular expression match objects.

Patch by Anton Kasyanov.

12 years agoFix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return...
Senthil Kumaran [Sun, 23 Dec 2012 17:00:47 +0000 (09:00 -0800)]
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly

12 years agoIssue #16045: add more unit tests for built-in int()
Andrew Svetlov [Sun, 23 Dec 2012 10:44:04 +0000 (12:44 +0200)]
Issue #16045: add more unit tests for built-in int()

Patch by Chris Jerdonek.

12 years agoAdd missing label.
Georg Brandl [Sat, 22 Dec 2012 09:44:11 +0000 (10:44 +0100)]
Add missing label.

12 years agoFix indentation.
Georg Brandl [Sat, 22 Dec 2012 09:43:06 +0000 (10:43 +0100)]
Fix indentation.

12 years agoctypes: DECREF error_object _after_ re-acquiring GIL
Kristjan Valur Jonsson [Fri, 21 Dec 2012 10:32:57 +0000 (10:32 +0000)]
ctypes: DECREF error_object _after_ re-acquiring GIL

12 years ago#8853: Allow port to be of type long for socket.getaddrinfo()
Petri Lehtinen [Thu, 20 Dec 2012 19:06:14 +0000 (21:06 +0200)]
#8853: Allow port to be of type long for socket.getaddrinfo()

12 years agoadd news note (#16597)
Benjamin Peterson [Thu, 20 Dec 2012 18:55:52 +0000 (12:55 -0600)]
add news note (#16597)

12 years agocall close on the underlying stream even if flush raises (#16597)
Benjamin Peterson [Thu, 20 Dec 2012 18:24:10 +0000 (12:24 -0600)]
call close on the underlying stream even if flush raises (#16597)

12 years agoreplace threw with raised (#16714)
Andrew Svetlov [Wed, 19 Dec 2012 20:49:01 +0000 (22:49 +0200)]
replace threw with raised (#16714)

12 years agorevert comment wording (#16714)
Andrew Svetlov [Wed, 19 Dec 2012 20:47:05 +0000 (22:47 +0200)]
revert comment wording (#16714)

12 years agoIssue #16714: use 'raise' exceptions, don't 'throw'.
Andrew Svetlov [Tue, 18 Dec 2012 19:27:37 +0000 (21:27 +0200)]
Issue #16714: use 'raise' exceptions, don't 'throw'.

Patch by Serhiy Storchaka.

12 years agomerge heads
Andrew Svetlov [Mon, 17 Dec 2012 17:07:57 +0000 (19:07 +0200)]
merge heads

12 years agoIssue #16647: save socket error details in LMTP.connect()
Andrew Svetlov [Mon, 17 Dec 2012 17:06:43 +0000 (19:06 +0200)]
Issue #16647: save socket error details in LMTP.connect()

Patch by Serhiy Storchaka.

12 years agoFix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch...
Giampaolo Rodola' [Mon, 17 Dec 2012 13:30:48 +0000 (14:30 +0100)]
Fix issue #16646: ftplib.FTP.makeport() might lose socket error details.  (patch by Serhiy Storchaka)

12 years agoUpdate example: Counter.subtract returns None, not self
Andrew Svetlov [Mon, 17 Dec 2012 12:01:03 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self

12 years agoFix #14901. Update some sections of Windows FAQ.
Brian Curtin [Mon, 17 Dec 2012 06:17:49 +0000 (00:17 -0600)]
Fix #14901. Update some sections of Windows FAQ.

Patch by Ashish Nitin Patil.

12 years agoIssue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern conta...
Antoine Pitrou [Sun, 16 Dec 2012 12:55:47 +0000 (13:55 +0100)]
Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.

12 years ago#16664: Add regression tests for glob's behaviour concerning "."-entries
Hynek Schlawack [Sun, 16 Dec 2012 11:30:57 +0000 (12:30 +0100)]
#16664: Add regression tests for glob's behaviour concerning "."-entries

Patch by Sebastian Kreft.

12 years agoremove dead code
Benjamin Peterson [Sat, 15 Dec 2012 20:43:58 +0000 (15:43 -0500)]
remove dead code

12 years agoIssue #16298: In HTTPResponse.read(), close the socket when there is no Content-Lengt...
Antoine Pitrou [Sat, 15 Dec 2012 18:11:54 +0000 (19:11 +0100)]
Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
Patch by Eran Rundstein.

12 years ago#16683: restore alphabetical order in audioop docs. Patch by Serhiy Storchaka.
Ezio Melotti [Fri, 14 Dec 2012 18:18:46 +0000 (20:18 +0200)]
#16683: restore alphabetical order in audioop docs.  Patch by Serhiy Storchaka.

12 years ago#16681: use "bidirectional class" instead of "bidirectional category" in the docstrin...
Ezio Melotti [Fri, 14 Dec 2012 18:12:25 +0000 (20:12 +0200)]
#16681: use "bidirectional class" instead of "bidirectional category" in the docstring too.

12 years ago#16681: use "bidirectional class" instead of "bidirectional category".
Ezio Melotti [Fri, 14 Dec 2012 18:06:43 +0000 (20:06 +0200)]
#16681: use "bidirectional class" instead of "bidirectional category".

12 years agoMake PyAST_obj2mod C89 compliant. (Follow-up commit from asdl_c.py.)
Trent Nelson [Thu, 13 Dec 2012 07:22:16 +0000 (07:22 +0000)]
Make PyAST_obj2mod C89 compliant.  (Follow-up commit from asdl_c.py.)

12 years agoMake PyAST_obj2mod C89 compliant.
Trent Nelson [Thu, 13 Dec 2012 07:13:18 +0000 (07:13 +0000)]
Make PyAST_obj2mod C89 compliant.

12 years agoIRIX: force MIPSpro to treat #errors as errors, not warnings.
Trent Nelson [Thu, 13 Dec 2012 06:46:39 +0000 (06:46 +0000)]
IRIX: force MIPSpro to treat #errors as errors, not warnings.

12 years ago1 << 31 is invalid for signed integers, fix it by making 1 unsigned.
Gregory P. Smith [Tue, 11 Dec 2012 01:45:54 +0000 (17:45 -0800)]
1 << 31 is invalid for signed integers, fix it by making 1 unsigned.

Found by Clang trunk's Undefined-Behavior Sanitizer.  [more to come]

12 years agoIssue #16582: use int exit code in tkinter._exit
Andrew Svetlov [Sun, 9 Dec 2012 22:05:08 +0000 (00:05 +0200)]
Issue #16582: use int exit code in tkinter._exit

12 years agoDocument the reason attribute of urllib.HTTPError Patch by Berker Peksag
Senthil Kumaran [Sun, 9 Dec 2012 21:36:40 +0000 (13:36 -0800)]
Document the reason attribute of urllib.HTTPError  Patch by Berker Peksag

12 years agoIssue #16248: Disable code execution from the user's home directory by tkinter when...
Antoine Pitrou [Sun, 9 Dec 2012 13:46:18 +0000 (14:46 +0100)]
Issue #16248: Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python.
Patch by Zachary Ware.

12 years agoBranch merge
Éric Araujo [Sun, 9 Dec 2012 03:45:09 +0000 (22:45 -0500)]
Branch merge

12 years agoUse proper skip instead of reporting success in one distutils test
Éric Araujo [Sun, 9 Dec 2012 03:30:47 +0000 (22:30 -0500)]
Use proper skip instead of reporting success in one distutils test

12 years agoFix setup.py register failure with invalid rst in description (#13614).
Éric Araujo [Sun, 9 Dec 2012 03:26:57 +0000 (22:26 -0500)]
Fix setup.py register failure with invalid rst in description (#13614).

Original patch by Julien Courteau and Pierre Paul Lefebvre.

12 years agoIssue #16602: When a weakref's target was part of a long deallocation chain, the...
Antoine Pitrou [Sat, 8 Dec 2012 20:15:26 +0000 (21:15 +0100)]
Issue #16602: When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.

Thanks to Eugene Toder for diagnosing and reporting the issue.