bpo-44446: set lineno in generator instructions by FFY00 · Pull Request #26782 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Conversation
FFY00
changed the title
bpo-44446: set lineno in prefix instructions
bpo-44446: set lineno in generator instructions
FFY00
mentioned this pull request
FFY00
marked this pull request as draft
When generator instructions were added to bytecode, lineno was always set to -1, instead of the line number. This patch sets the lineno, if there is one. Signed-off-by: Filipe Laíns <lains@riseup.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters