Message353295
Yes, of course. We could keep f_lineno unchanged, despite the fact that its value can be wrong, and introduce f_lineno_new. Then we should change all code in the stdlib which uses f_lineno to use f_new_lineno, or rather, to keep absolute backward compatibility, add other duplicates: warnings.warn_new(), traceback.print_stack_new(), etc, and encourage all third-party projects to change their code too.
But there are some drawbacks in such approach. |
|
Date |
User |
Action |
Args |
2019-09-26 11:28:03 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, Thomas Haller |
2019-09-26 11:28:03 | serhiy.storchaka | set | messageid: <1569497283.48.0.787139502517.issue38283@roundup.psfhosted.org> |
2019-09-26 11:28:03 | serhiy.storchaka | link | issue38283 messages |
2019-09-26 11:28:03 | serhiy.storchaka | create | |
|