Author schuppenies
Recipients schuppenies
Date 2008-06-16.10:51:19
SpamBayes Score 0.00198725
Marked as misclassified No
Message-id <1213613487.11.0.64218401652.issue3122@psf.upfronthosting.co.za>
In-reply-to
Content
>>> import re
>>> import sys
>>> r = re.compile('')
>>> sys.getsizeof(r)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: __sizeof__

This applies to objects of the types _sre.SRE_Pattern,
_sre.SRE_Scanner, and _sre.SRE_Match.

The attached patch addresses this issue.
History
Date User Action Args
2008-06-16 10:51:28schuppeniessetspambayes_score: 0.00198725 -> 0.00198725
recipients: + schuppenies
2008-06-16 10:51:27schuppeniessetspambayes_score: 0.00198725 -> 0.00198725
messageid: <1213613487.11.0.64218401652.issue3122@psf.upfronthosting.co.za>
2008-06-16 10:51:25schuppenieslinkissue3122 messages
2008-06-16 10:51:24schuppeniescreate