This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Thomas Haller, serhiy.storchaka
Date 2019-09-26.11:28:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1569497283.48.0.787139502517.issue38283@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-09-26 11:28:03serhiy.storchakasetrecipients: + serhiy.storchaka, Thomas Haller
2019-09-26 11:28:03serhiy.storchakasetmessageid: <1569497283.48.0.787139502517.issue38283@roundup.psfhosted.org>
2019-09-26 11:28:03serhiy.storchakalinkissue38283 messages
2019-09-26 11:28:03serhiy.storchakacreate