[Patches] [ python-Patches-683074 ] Optional output streams for dis

SourceForge.net noreply@sourceforge.net
Thu, 22 May 2003 06:09:45 -0700


Patches item #683074, was opened at 2003-02-08 14:22
Message generated for change (Comment added) made by logistix
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=683074&group_id=5470

Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: logistix (logistix)
Assigned to: Raymond Hettinger (rhettinger)
Summary: Optional output streams for dis

Initial Comment:
Right now the dis module uses print to output.  This 
restricts it's use to interactive.  You can't easily route 
the output to files, webpages, run re's on it, etc.

This patch just adds an optional keyword parameter 
write that defaults to sys.stdout.write and replaces print 
statments with calls to write.



----------------------------------------------------------------------

>Comment By: logistix (logistix)
Date: 2003-05-22 08:09

Message:
Logged In: YES 
user_id=699438

Raymond,

This actually got a thumbs down on python-dev.  You can just 
close it out.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=683074&group_id=5470