Author schuppenies
Recipients benjamin.peterson, facundobatista, schuppenies
Date 2008-06-26.21:40:51
SpamBayes Score 0.0190214
Marked as misclassified No
Message-id <>
The attribute error is caused by pattern_getattr, which tries to find
__sizeof__, fails and then sets the error message. I don't know if
casting the error is the right thing to do. Actually, sys.getsizeof()
should work on any type.

Another suggestion was a that sys.getsizeof allows one optional
argument for a default size. If the default argument is provided,
sys.getsizeof will not throw an exception (if the __sizeof__ method is
missing or for any other error), but instead return the given default
Still, an agreement on the right error message is needed.
Date User Action Args
2008-06-26 21:40:53schuppeniessetspambayes_score: 0.0190214 -> 0.0190214
recipients: + schuppenies, facundobatista, benjamin.peterson
2008-06-26 21:40:53schuppeniessetspambayes_score: 0.0190214 -> 0.0190214
messageid: <>
2008-06-26 21:40:52schuppenieslinkissue3122 messages
2008-06-26 21:40:51schuppeniescreate