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.20498e-06
Marked as misclassified No
Message-id <>
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 
Date User Action Args
2009-10-06 04:32:43ggenellinasetrecipients: + ggenellina
2009-10-06 04:32:42ggenellinasetmessageid: <>
2009-10-06 04:32:39ggenellinalinkissue7069 messages
2009-10-06 04:32:37ggenellinacreate