Message372512
Some of the test cases from Nick's patch are not passing on master:
ast.literal_eval('') # raises SyntaxError; expected: ValueError
ast.literal_eval('6j--3') # expected: 3+6j
ast.literal_eval('(2j+4j)+(1+2)') # expected: 3+6j
ast.literal_eval('(2j+4j)-(1+2)') # expected: -3+6j
I'm assuming that new changes in ast.py do not allow for these. Can anyone confirm that this is indeed the case, and not a bug with literal_eval? |
|
Date |
User |
Action |
Args |
2020-06-28 11:01:34 | RJ722 | set | recipients:
+ RJ722, rhettinger, ncoghlan, larry, benjamin.peterson, serhiy.storchaka, mdk |
2020-06-28 11:01:34 | RJ722 | set | messageid: <1593342094.3.0.0704083813292.issue17490@roundup.psfhosted.org> |
2020-06-28 11:01:34 | RJ722 | link | issue17490 messages |
2020-06-28 11:01:34 | RJ722 | create | |
|