Message11706

Author jeff.allen
Recipients Arfrever, gthank, jeff.allen, pjenvey, zyasoft
Date 2018-02-24.23:33:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519515204.64.0.467229070634.issue2055@psf.upfronthosting.co.za>
In-reply-to
Content
This seems to be working now:
PS 272a1> jython
Jython 2.7.2a1+ (default:d74f8c2cd56f, Feb 24 2018, 17:18:53)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_151
Type "help", "copyright", "credits" or "license" for more information.
>>> import abc
>>> class A(abc.ABCMeta): pass
...
>>> print(isinstance(0, abc.ABCMeta))
False
>>> print(issubclass(A, abc.ABCMeta))
True
>>> print(issubclass(abc.ABCMeta, abc.ABCMeta))
True

Close?
History
Date User Action Args
2018-02-24 23:33:24jeff.allensetmessageid: <1519515204.64.0.467229070634.issue2055@psf.upfronthosting.co.za>
2018-02-24 23:33:24jeff.allensetrecipients: + jeff.allen, pjenvey, zyasoft, Arfrever, gthank
2018-02-24 23:33:24jeff.allenlinkissue2055 messages
2018-02-24 23:33:24jeff.allencreate