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, christian.heimes, gvanrossum
Date 2007-11-13.01:06:09
SpamBayes Score 0.0062882006
Marked as misclassified No
Message-id <1194915969.78.0.332982907275.issue1265@psf.upfronthosting.co.za>
In-reply-to
Content
Corrected by revision 58958.
"with" is innocent. The problem is this function in abc.py which uses a
generator expression:

    def __instancecheck__(cls, instance):
        """Override for isinstance(instance, cls)."""
        return any(cls.__subclasscheck__(c)
                   for c in {instance.__class__, type(instance)})

It is called both by pdb (deep inside 'print') and the debugged code (in
PyObject_MethodCall), and this reveals the bug.
History
Date User Action Args
2007-11-13 01:06:09amaury.forgeotdarcsetspambayes_score: 0.0062882 -> 0.0062882006
recipients: + amaury.forgeotdarc, gvanrossum, christian.heimes
2007-11-13 01:06:09amaury.forgeotdarcsetspambayes_score: 0.0062882 -> 0.0062882
messageid: <1194915969.78.0.332982907275.issue1265@psf.upfronthosting.co.za>
2007-11-13 01:06:09amaury.forgeotdarclinkissue1265 messages
2007-11-13 01:06:09amaury.forgeotdarccreate