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 BTaskaya, Mark.Shannon, nedbat, pablogsal, serhiy.storchaka, skip.montanaro
Date 2020-02-15.11:38:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581766708.92.0.838398157064.issue39537@roundup.psfhosted.org>
In-reply-to
Content
Every bytecode is generated from some AST node which has an associated range of lines. So there should not be bytecodes that have no line number.

If for some reasons you generate bytecodes that have no line number, you can just set lineno > end_lineno for them.
History
Date User Action Args
2020-02-15 11:38:28serhiy.storchakasetrecipients: + serhiy.storchaka, skip.montanaro, nedbat, Mark.Shannon, pablogsal, BTaskaya
2020-02-15 11:38:28serhiy.storchakasetmessageid: <1581766708.92.0.838398157064.issue39537@roundup.psfhosted.org>
2020-02-15 11:38:28serhiy.storchakalinkissue39537 messages
2020-02-15 11:38:28serhiy.storchakacreate