◐ Shell
clean mode source ↗

bpo-44446: set lineno in generator instructions by FFY00 · Pull Request #26782 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@FFY00 FFY00 changed the title bpo-44446: set lineno in prefix instructions bpo-44446: set lineno in generator instructions

Jun 18, 2021

@FFY00 FFY00 mentioned this pull request

Jun 18, 2021

@FFY00 FFY00 marked this pull request as draft

June 18, 2021 02:11
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>

Labels