A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-February/033744.html below:

[Python-Dev] Bytecode analysis

[Python-Dev] Bytecode analysis [Python-Dev] Bytecode analysisGuido van Rossum guido@python.org
Wed, 26 Feb 2003 17:20:26 -0500
> While the subject is up, I previously submitted a patch [683074] to
> allow you to specify an output stream.  Right now dis just uses print,
> which made it a little difficult to redirect the output.  Is there any
> interest in this feature? If so, I'll update the patch against Skip's.
> If not, or if there are objections, the patch can be closed out.

-1

You can redirect everything's output to a file by assigning that file
to sys.stdout.  I really don't think we need to add output file
options to every class in the standard library.

dis is primarily an interactive and debugging tool.

And you can always subclass it.

--Guido van Rossum (home page: http://www.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4