> -----Original Message----- > From: python-dev-admin@python.org > [mailto:python-dev-admin@python.org] On Behalf Of Guido van Rossum > Sent: Wednesday, February 26, 2003 10:52 AM > To: skip@pobox.com > Cc: python-dev@python.org > Subject: Re: [Python-Dev] Bytecode analysis > > > > I have long had a version of dis.py which imports opcode > info from a > > separate opcodes.py. Perhaps it's time to make that change. > > opcodes.py could then be mostly generated automatically from > > Include/opcode.h. > > > > (The reason for separating this out is to make opcode info > available > > to other modules, like peephole optimizers.) > > > > Should I submit a patch? > > Yes please! > 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. -Grant
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