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 alecthomas
Recipients alecthomas, aronacher, nnorwitz
Date 2008-03-17.16:55:51
SpamBayes Score 0.25057462
Marked as misclassified No
Message-id <1205772952.0.0.890459758617.issue2321@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Neal,

This seems to be a more general problem than just unicode.

eg. Tuples:

>>> x = [(1, 2, 3, 4, i) for i in xrange(800000)]
>>> del x

And user-defined objects:

>>> class A(object):
...   def __init__(self):
...     self.x = random.random()
>>> x = [A() for i in xrange(800000)]
>>> del x

Both exhibit the same behaviour. Naively to me it seems like using the
custom allocator uniformly would fix this problem.
History
Date User Action Args
2008-03-17 16:55:52alecthomassetspambayes_score: 0.250575 -> 0.25057462
recipients: + alecthomas, nnorwitz, aronacher
2008-03-17 16:55:52alecthomassetspambayes_score: 0.250575 -> 0.250575
messageid: <1205772952.0.0.890459758617.issue2321@psf.upfronthosting.co.za>
2008-03-17 16:55:51alecthomaslinkissue2321 messages
2008-03-17 16:55:51alecthomascreate