Message7486

Author Arfrever
Recipients Arfrever, fwierzbicki
Date 2012-10-23.22:09:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351030152.79.0.972325700311.issue1981@psf.upfronthosting.co.za>
In-reply-to
Content
ast.And and ast.Or should be subclasses of ast.boolop.
This bug is present in Jython 2.5 and 2.7.

In Jython 2.7:

>>> import ast
>>> [issubclass(getattr(ast, x), ast.boolop) for x in ('And', 'Or')]
[False, False]

In CPython 2.7:

>>> import ast
>>> [issubclass(getattr(ast, x), ast.boolop) for x in ('And', 'Or')]
[True, True]
History
Date User Action Args
2012-10-23 22:09:12Arfreversetrecipients: + Arfrever, fwierzbicki
2012-10-23 22:09:12Arfreversetmessageid: <1351030152.79.0.972325700311.issue1981@psf.upfronthosting.co.za>
2012-10-23 22:09:12Arfreverlinkissue1981 messages
2012-10-23 22:09:12Arfrevercreate