[issue11823] disassembly needs to argument counts on calls with keyword args

2011-04-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am posting an unfinished patch (needs additional tests and possibly documentation) to get feedback on whether it would make sense to wait for issue11816 refactoring before implementing this. Note the code duplication between disassemble and _disassem

[issue11823] disassembly needs to argument counts on calls with keyword args

2011-04-10 Thread Daniel Urban
Changes by Daniel Urban : -- nosy: +durban ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11823] disassembly needs to argument counts on calls with keyword args

2011-04-10 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- keywords: +easy stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue11823] disassembly needs to argument counts on calls with keyword args

2011-04-10 Thread Raymond Hettinger
New submission from Raymond Hettinger : The argument to CALL_FUNCTION is overloaded to show both the number of positional arguments and keyword arguments (shifted by 8-bits): >>> dis("foo(10, opt=True)") 1 0 LOAD_NAME0 (foo) 3 LOAD_CONST