[issue32970] Improve disassembly of the MAKE_FUNCTION instruction

2018-03-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue32970] Improve disassembly of the MAKE_FUNCTION instruction

2018-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e2732d3e66eba9ec13f9d55c499f2437ead552db by Serhiy Storchaka in branch 'master': bpo-32970: Improve disassembly of the MAKE_FUNCTION instruction. (GH-5937) https://github.com/python/cpython/commit/e2732d3e66eba9ec13f9d55c499f2437ead552db

[issue32970] Improve disassembly of the MAKE_FUNCTION instruction

2018-02-28 Thread Serhiy Storchaka via Python-bugs-list
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +5707 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue32970] Improve disassembly of the MAKE_FUNCTION instruction

2018-02-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed PR adds decryption of the MAKE_FUNCTION argument (it is a bits set) in the disassembler output. For example: $ echo 'def f(x, y=1, *, z=2): ...' | ./python -m dis 1 0 LOAD_CONST 6 ((1,)) 2 LOAD_CONST