Resolution: Won't Fix
Affects Version/s: PUP 4.0.0
Fix Version/s: None
The following code works with 3.7 and `--parser future` but not 4.0.0:
The error is:
This appears to be a deliberate decision:
"Automatic conversion between String and Numeric is performed for arithmetic operations, but not for comparisons."
This means such code has to be written as:
Of course this specific example is fixed with cfactor, but I think there are plenty of other cases where similar behaviour is required. I'd like to request reconsideration of including automatic type casting for operators, at least in cases like >=. Explicit conversion is not pretty.