Message211092
I was looking at the current hg tip. The lexer emits E_TOKEN errors for the following cases:
- invalid hex digit
- invalid octal digit
- invalid binary digit
- invalid digit in float exponent
- old-style octal constant (e.g. 001), which is no longer accepted
I think I can come up with a patch that replaces them all with different error codes (E_BAD_HEX_DIGIT etc.) and different error messages. Does that sound like an acceptable change? (I never contributed non-documentation patches to CPython before.) |
|
Date |
User |
Action |
Args |
2014-02-12 14:07:57 | mgedmin | set | recipients:
+ mgedmin |
2014-02-12 14:07:56 | mgedmin | set | messageid: <1392214076.98.0.911994871276.issue20608@psf.upfronthosting.co.za> |
2014-02-12 14:07:56 | mgedmin | link | issue20608 messages |
2014-02-12 14:07:56 | mgedmin | create | |
|