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 | amaury.forgeotdarc |
|---|---|
| Recipients | amaury.forgeotdarc, jyasskin, mato2000, werneck, zanella |
| Date | 2008年06月30日.12:44:59 |
| SpamBayes Score | 5.829554e-05 |
| Marked as misclassified | No |
| Message-id | <1214829961.39.0.179641745007.issue2325@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I think the best is to ignore __instancecheck__ when "cls.__instancecheck__" is returned as an unbound method. In this case, we try "type(cls).__instancecheck__" instead. Here is a patch along this idea. I had to disable a test named "Evil", because in this case isinstance() simply falls back to the original algorithm. I don't know if this is applicable to 3.0: unbound methods don't exist any more. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年06月30日 12:46:01 | amaury.forgeotdarc | set | spambayes_score: 5.82955e-05 -> 5.829554e-05 recipients: + amaury.forgeotdarc, jyasskin, zanella, werneck, mato2000 |
| 2008年06月30日 12:46:01 | amaury.forgeotdarc | set | spambayes_score: 5.82955e-05 -> 5.82955e-05 messageid: <1214829961.39.0.179641745007.issue2325@psf.upfronthosting.co.za> |
| 2008年06月30日 12:45:01 | amaury.forgeotdarc | link | issue2325 messages |
| 2008年06月30日 12:45:01 | amaury.forgeotdarc | create | |