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 jackdied
Recipients
Date 2006-11-22.20:30:48
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Ah, I missed the default of -1

The refactoring changed how the results of lookup_maybe()s
are used.  From the note at the top of lookup_maybe() it
might return NULL and _not_ set an exception.  In the old
code it checked for NULL versus PyErr_Occcurred.  In the
new code it looks like func will get decrefed if it is NULL
but PyErr_Occurred is not set.  I would revert the refactoring
and change only the bits you have to.

[I'll pass on the __len__ thing until I have a chance to
look at it more]
History
Date User Action Args
2007-08-23 15:55:24adminlinkissue1600346 messages
2007-08-23 15:55:24admincreate