This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author flox
Recipients LambertDW, flox, skrah
Date 2009-12-10.11:28:02
SpamBayes Score 3.1974102e-07
Marked as misclassified No
Message-id <1260444484.4.0.644139381319.issue7466@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, confirmed too. Both 3.1 and 3.2 are broken.

Minimal sequence to trigger the bug:

"""
~ $ ./python 
Python 3.2a0 (py3k:76743M, Dec 10 2009, 12:19:41) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

"""
def m(i):
    if i == 10:
        return next(i for i in '0')

MAX_LOOP = 1<<10
t = range(11)
for i in range(MAX_LOOP):
  d = map(m, t)
  tup = tuple(d)

## python: Objects/tupleobject.c:853: _PyTuple_Resize:
## Assertion `g->gc.gc_refs != (-2)' failed.
History
Date User Action Args
2009-12-10 11:28:04floxsetrecipients: + flox, LambertDW, skrah
2009-12-10 11:28:04floxsetmessageid: <1260444484.4.0.644139381319.issue7466@psf.upfronthosting.co.za>
2009-12-10 11:28:03floxlinkissue7466 messages
2009-12-10 11:28:02floxcreate