Message93631
| 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:43 | ggenellina | set | recipients: + ggenellina |
| 2009-10-06 04:32:42 | ggenellina | set | messageid: <1254803562.64.0.0318386285546.issue7069@psf.upfronthosting.co.za> |
| 2009-10-06 04:32:39 | ggenellina | link | issue7069 messages |
| 2009-10-06 04:32:37 | ggenellina | create | |