[Python-Dev] cpython: Issue #11816: multiple improvements to the dis module

Antoine Pitrou solipsis at pitrou.net
Mon May 6 21:17:01 CEST 2013


On Mon,  6 May 2013 15:59:49 +0200 (CEST)
nick.coghlan <python-checkins at python.org> wrote:
> http://hg.python.org/cpython/rev/f65b867ce817
> changeset:   83644:f65b867ce817
> user:        Nick Coghlan <ncoghlan at gmail.com>
> date:        Mon May 06 23:59:20 2013 +1000
> summary:
>   Issue #11816: multiple improvements to the dis module
> 
> * get_instructions generator
> * ability to redirect output to a file
> * Bytecode and Instruction abstractions
> 
> Patch by Nick Coghlan, Ryan Kelly and Thomas Kluyver.
> 
> files:
>   Doc/library/dis.rst  |  269 +++++++++++++++++++-----
>   Doc/whatsnew/3.4.rst |   15 +
>   Lib/dis.py           |  341 +++++++++++++++++++++---------
>   Lib/test/test_dis.py |  339 +++++++++++++++++++++++++++---
>   Misc/NEWS            |    4 +
>   5 files changed, 775 insertions(+), 193 deletions(-)

Looks like you forgot to add bytecode_helper.py.

Regards

Antoine.




More information about the Python-Dev mailing list