[issue47233] show_caches option affects code positions reported by dis.get_instructions(...)

2022-04-05 Thread 15r10nk
New submission from 15r10nk <15r10nk-python-iss...@polarbit.de>: The Instructions reported by dis.get_instructions(...) and dis.Bytecode(...) have different positions depending on the value of their show_caches argument. test2.py reproduces the problem. -- files: test2.py me

[issue47233] show_caches option affects code positions reported by dis.get_instructions(...)

2022-04-07 Thread 15r10nk
Change by 15r10nk <15r10nk-python-iss...@polarbit.de>: -- keywords: +patch pull_requests: +30430 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32406 ___ Python tracker <https://bugs.python.or

[issue47233] show_caches option affects code positions reported by dis.get_instructions(...)

2022-04-07 Thread 15r10nk
15r10nk <15r10nk-python-iss...@polarbit.de> added the comment: I moved the line. Is there anything else required? unittests? -- ___ Python tracker <https://bugs.python.org/i

[issue47253] LOAD_GLOBAL instruction with wrong source position

2022-04-07 Thread 15r10nk
New submission from 15r10nk <15r10nk-python-iss...@polarbit.de>: The LOAD_GLOBAL instruction has a different/wrong source position if it refers the name of an imported module. -- files: test3.py messages: 416945 nosy: 15r10nk priority: normal severity: normal status: open