Nick Coghlan <ncogh...@gmail.com> added the comment:

@Ron: Now that it has a reasonably clear signature, I could see my way clear to 
making the Instruction._disassemble() method public, which makes it easy for 
people to compose their own disassembly output.

For all the other display methods, I prefer Ryan Kelly's suggestion of 
supporting a "file" argument which is then passed through to the underlying 
"print()" calls.

This is inconsistent with what I originally did for the code_info() APIs (where 
I made a separate "give me the string" function), but it's the lowest impact 
change that avoids the need to capture stdout.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11816>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to