Problem with assert testing two ranges #317
Labels
Boolean Expressions
Complex boolean expresions with "and", "or", and chained comparisons,
Control Flow
Problem has to do with bad control-flow detection
Python 3.7
Python 3.8
Volunteer wanted
Volunteer wanted to fix if a bug or to implement if a new feature.
Works on decompyle3
Description
Fails after an assert with and of two (a<= b <c) type conditions with message
Parse error at or near `CALL_METHOD_1' instruction at offset 60
How to Reproduce
I've attached a zip with the source, code and output
test.zip
Source test.py
Expected behavior
Well - that it wouldn't give a parse error but sonething reasonably similar to the input!
Environment
uncompyle6 3.7.0
python 3.8.3
on Windows 10
Additional Environment or Context
The text was updated successfully, but these errors were encountered: