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-12-05.09:26:13
SpamBayes Score 0.19525082
Marked as misclassified No
Message-id <1196846774.66.0.606577985117.issue1539@psf.upfronthosting.co.za>
In-reply-to
Content
I found indeed 2 problems in regrtest.py.
I don't have svn access for the moment, so I cannot provide a regular
patch, so here are the changes:

- The line
    obj._abc_registry = abcs.get(obj, {}).copy()
incorrectly puts an empty dictionary in _abc_registry. It should be a set:
    from weakref import WeakSet
    obj._abc_registry = abcs.get(obj, WeakSet()).copy()

- This test in dash_R()
    if not isinstance(abc, _Abstract):
is not correct. It should be 
    if not issubclass(abc, _Abstract):
(Note that dash_R_cleanup contains the same line, but correctly)
History
Date User Action Args
2007-12-05 09:26:15amaury.forgeotdarcsetspambayes_score: 0.195251 -> 0.19525082
recipients: + amaury.forgeotdarc, gvanrossum, christian.heimes
2007-12-05 09:26:14amaury.forgeotdarcsetspambayes_score: 0.195251 -> 0.195251
messageid: <1196846774.66.0.606577985117.issue1539@psf.upfronthosting.co.za>
2007-12-05 09:26:14amaury.forgeotdarclinkissue1539 messages
2007-12-05 09:26:13amaury.forgeotdarccreate