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 ggenellina
Recipients ggenellina
Date 2009-10-06.04:32:35
SpamBayes Score 6.204979e-06
Marked as misclassified No
Message-id <1254803562.64.0.0318386285546.issue7069@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, inspect.isabstract() may return an integer like 1048576 
instead of True, or 0 instead of False.

Although technically correct, no other isXXX function behaves that way; 
also, isgeneratorfunction() uses a similar code construct but casts the 
result into a boolean.

The attached patch makes inspect.isabstract() return a boolean value 
always.
History
Date User Action Args
2009-10-06 04:32:43ggenellinasetrecipients: + ggenellina
2009-10-06 04:32:42ggenellinasetmessageid: <1254803562.64.0.0318386285546.issue7069@psf.upfronthosting.co.za>
2009-10-06 04:32:39ggenellinalinkissue7069 messages
2009-10-06 04:32:37ggenellinacreate