Message7486
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] |
|
Date |
User |
Action |
Args |
2012-10-23 22:09:12 | Arfrever | set | recipients:
+ Arfrever, fwierzbicki |
2012-10-23 22:09:12 | Arfrever | set | messageid: <1351030152.79.0.972325700311.issue1981@psf.upfronthosting.co.za> |
2012-10-23 22:09:12 | Arfrever | link | issue1981 messages |
2012-10-23 22:09:12 | Arfrever | create | |
|