Message381566
In Lib/idlelib/searchengine.py there is a code which decomposes re.error and reports error message, pattern, and position of error.
The problem is that that code does not match the structure of re.error. It takes args[0] as error message, and args[1] (if specified) as position in the pattern. But actually re.error always sets args[0] to formatted error message, and args has only one item. So some code in IDLE is dead.
Currently reported:
Error: bad escape \z at position 1
Pattern: a\z
Expected:
Error: bad escape \z
Pattern: a\z
Offset: 1 |
|
Date |
User |
Action |
Args |
2020-11-21 15:19:37 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy |
2020-11-21 15:19:37 | serhiy.storchaka | set | messageid: <1605971977.28.0.341326633768.issue42426@roundup.psfhosted.org> |
2020-11-21 15:19:37 | serhiy.storchaka | link | issue42426 messages |
2020-11-21 15:19:36 | serhiy.storchaka | create | |
|