Message7485
ast.Eq, ast.Gt, ast.GtE, ast.In, ast.Is, ast.IsNot, ast.Lt, ast.LtE, ast.NotEq and ast.NotIn should be subclasses of ast.cmpop.
This bug is present in Jython 2.5 and 2.7.
In Jython 2.7:
>>> import ast
>>> [issubclass(getattr(ast, x), ast.cmpop) for x in ('Eq', 'Gt', 'GtE', 'In', 'Is', 'IsNot', 'Lt', 'LtE', 'NotEq', 'NotIn')]
[False, False, False, False, False, False, False, False, False, False]
In CPython 2.7:
>>> import ast
>>> [issubclass(getattr(ast, x), ast.cmpop) for x in ('Eq', 'Gt', 'GtE', 'In', 'Is', 'IsNot', 'Lt', 'LtE', 'NotEq', 'NotIn')]
[True, True, True, True, True, True, True, True, True, True] |
|
Date |
User |
Action |
Args |
2012-10-23 21:54:48 | Arfrever | set | recipients:
+ Arfrever, fwierzbicki |
2012-10-23 21:54:48 | Arfrever | set | messageid: <1351029288.85.0.549318702941.issue1980@psf.upfronthosting.co.za> |
2012-10-23 21:54:48 | Arfrever | link | issue1980 messages |
2012-10-23 21:54:48 | Arfrever | create | |
|