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 gangesmaster
Recipients
Date 2006-11-24.08:57:52
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
well, i liked it better refactored, i.e., each piece of code
taking care of one logical part (i.e., one section for __bool__,
another for __len__, and another for the default.
now it's back to the spaghetti it was.

> return PyErr_Occurred() ? -1 : 1;
i hate the trinary expression, but that's all about style :)

anyway, as long as it works, i don't have any complaints.
you just have to make sure it's written as optimized as possible,
because it gets invoked many times behind the scenes.
History
Date User Action Args
2007-08-23 15:55:24adminlinkissue1600346 messages
2007-08-23 15:55:24admincreate