[issue33334] Add support of NOP and EXTENDED_ARG in stack_effect()

2018-04-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___ ___

[issue33334] Add support of NOP and EXTENDED_ARG in stack_effect()

2018-04-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 57faf348872d1d0af1808c82f535cf220d64b028 by Serhiy Storchaka in branch 'master': bpo-4: Support NOP and EXTENDED_ARG in dis.stack_effect(). (#6566) https://github.com/python/cpython/commit/57faf348872d1d0af1808c82f535cf220d64b028

[issue33334] Add support of NOP and EXTENDED_ARG in stack_effect()

2018-04-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +6262 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue33334] Add support of NOP and EXTENDED_ARG in stack_effect()

2018-04-22 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently dis.stack_effect() doesn't support opcodes NOP and EXTENDED_ARG. NOP is never emitted by the standard compiler (it is temporary added in the peephole optimizer, but later it is removed). EXTENDED_ARG is a special case, it is considered as a part