[issue13439] turtle: Errors in docstrings of onkey and onkeypress

2011-12-03 Thread Christopher Smith
Christopher Smith smi...@users.sourceforge.net added the comment: resolution:  - fixed stage: needs patch - committed/rejected status: open - closed Nice to see a good thing get even better. Thanks for you work. Chris Smith -- ___ Python

[issue13127] xml.dom.Attr.name is not labeled as read-only

2011-12-03 Thread Urjit Bhatia
Urjit Bhatia urjits...@gmail.com added the comment: Using the same code example as above, I added a simple print statement in the set method being defined in the defproperty and it fired correctly for - a.childNodes[0].attributes='something' **My print statement:**in defproperty set for name:

[issue13522] Document error return values for PyFloat_* and PyComplex_*

2011-12-03 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: A couple of -1.0 error return codes aren't documented, see for example PyFloat_AsDouble() and PyComplex_AsCComplex(). -- assignee: docs@python components: Documentation keywords: easy messages: 148789 nosy: docs@python,

[issue13522] Document error return values for PyFloat_* and PyComplex_*

2011-12-03 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Well, it's sort of documented implicitly: from http://docs.python.org/c-api/intro.html#exceptions In general, when a function encounters an error, it sets an exception, discards any object references that it owns, and returns an error

[issue13523] Python does not warn in module .py files does not exist if there is still a .pyc file

2011-12-03 Thread lennartyseboodt
New submission from lennartyseboodt lennart.ysebo...@philips.com: Python does not warn/error when importing a module where the module.py file no longer exists, but there is still a .pyc file present. It also does not warn when the imported file.py is a symlink pointing nowhere. As long as

[issue13524] critical error with import tempfile

2011-12-03 Thread Andrey Morozov
New submission from Andrey Morozov andrey.moro...@itseez.com: run_me.py: import subprocess, sys e = {'PATH_TO_MY_APPS' : path/to/my/apps} p = subprocess.Popen(sys.executable + test1.py 123, env=e, shell=True, stdout=subprocess.PIPE) print(p.stdout.readlines()) p.wait() test1.py: 1: import

[issue13524] critical error with import tempfile

2011-12-03 Thread Andrey Morozov
Andrey Morozov andrey.moro...@itseez.com added the comment: WIDW ? -- Added file: http://bugs.python.org/file23839/test1.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13524 ___

[issue13523] Python does not warn in module .py files does not exist if there is still a .pyc file

2011-12-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Python doesn't require the .py to run the code if there's a .pyc. This is expected so there's no need to give a warning. If the .py is present but it's a symlink pointing nowhere, it might make sense to give a warning before falling back

[issue13524] critical error with import tempfile

2011-12-03 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: The environment passed to a Windows process must contain certain things. (I don't at this moment remember exactly what). You can't just pass the one thing you're adding. Change your e = ... line to something like: e = os.environ

[issue13524] critical error with import tempfile

2011-12-03 Thread Andrey Morozov
Andrey Morozov andrey.moro...@itseez.com added the comment: it fix my problem: e = os.environ.copy() e['PATH_TO_MY_APPS'] = path/to/my/apps p = subprocess.Popen(sys.executable + test1.py 123, env=e, shell=True, stdout=subprocess.PIPE) answer: need have copy of environments --

[issue12965] longobject: documentation improvements

2011-12-03 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Ultimately, I think it would make sense to remove all __int__ conversions from Objects/longobject.c; +1 I think this API cleanup is worth some (probably very limited) breakage in third party modules. --

[issue13525] Tutorial: Example of Source Code Encoding triggers error

2011-12-03 Thread Nicolas Goutte
New submission from Nicolas Goutte nicolas.gou...@extragroup.de: Current Behaviour The tutorial of Python 3.2.x has an example to set an encoding in a source file: http://docs.python.org/py3k/tutorial/interpreter.html#source-code-encoding It explains to set the following line at the start of

[issue13525] Tutorial: Example of Source Code Encoding triggers error

2011-12-03 Thread Nicolas Goutte
Changes by Nicolas Goutte nicolas.gou...@extragroup.de: Added file: http://bugs.python.org/file23841/windows_1252ok.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13525 ___

[issue13525] Tutorial: Example of Source Code Encoding triggers error

2011-12-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch versions: +Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13525 ___

[issue13522] Document error return values for PyFloat_* and PyComplex_*

2011-12-03 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Good point. - I just had to figure out if the pattern Py_complex c = PyComplex_AsCComplex(w); if (c.real == -1.0 PyErr_Occurred()) { ... will always be reliable in the future. The source of PyComplex_AsCComplex()

[issue12612] Valgrind suppressions

2011-12-03 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3eb73f45a614 by Charles-François Natali in branch 'default': Issue #12612: Add some Valgrind suppressions for 64-bit machines. Patch by Paul http://hg.python.org/cpython/rev/3eb73f45a614 -- nosy: +python-dev

[issue12612] Valgrind suppressions

2011-12-03 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Committed, thanks for the patch! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12612

[issue12666] map semantic change not documented in What's New

2011-12-03 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3b505df38fd8 by Jason R. Coombs in branch '3.2': Issue #12666: Clarifying changes in map for Python 3 http://hg.python.org/cpython/rev/3b505df38fd8 New changeset 0e2812b16f5f by Jason R. Coombs in branch '3.2':

[issue12666] map semantic change not documented in What's New

2011-12-03 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12666 ___

[issue13211] urllib2.HTTPError does not have 'reason' attribute.

2011-12-03 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ee94b89f65ab by Jason R. Coombs in branch '2.7': Issue #13211: Add .reason attribute to HTTPError to implement parent class (URLError) interface. http://hg.python.org/cpython/rev/ee94b89f65ab New changeset

[issue13211] urllib2.HTTPError does not have 'reason' attribute.

2011-12-03 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13211 ___

[issue13498] os.makedirs exist_ok documentation is incorrect, as is some of the behavior

2011-12-03 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +Arfrever, belopolsky, draghuram, eric.araujo, gagenellina, georg.brandl, giampaolo.rodola, ijmorlan, terry.reedy, ysj.ray, zooko ___ Python tracker rep...@bugs.python.org

[issue13501] Make libedit support more generic; port readline / libedit to FreeBSD

2011-12-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: ISTM --with-readline=yes should just be --with-readline, and the =no forms should just be --without-readline. That would be more in line with other options and less confusing (--without-readline=no ?!). There is no trunk anymore now that we’ve

[issue13501] Make libedit support more generic; port readline / libedit to FreeBSD

2011-12-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: And if this is really two different requests (port readline module to FreeBSD i.e. change if __APPLE__ to if HAVE_EDITLINE and give more control about readline vs. editline in the configure script), then two reports should be opened.

[issue13500] Hitting EOF gets cmd.py into a infinite EOF on return loop

2011-12-03 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo, haypo versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13500 ___

[issue13518] configparser can’t read file objects from urlopen

2011-12-03 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- title: configparser - configparser can’t read file objects from urlopen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13518 ___

[issue13511] ./configure --includedir, --libdir accept multiple

2011-12-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: For ./configure, --includedir and --libdir both cannot handle multiple packages. I see “packages” means “directories” here. Is it a standard configure feature to support multiple --includedir and --libdir? Does it work if you pass

[issue12208] Glitches in email.policy docs

2011-12-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thank you sir. I fixed the directive markup in 4f860536efa3, I’m committing the rest now. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker

[issue12208] Glitches in email.policy docs

2011-12-03 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9ffb00748a47 by Éric Araujo in branch 'default': Fix glitches in email.policy docs (#12208) http://hg.python.org/cpython/rev/9ffb00748a47 -- nosy: +python-dev ___ Python

[issue12612] Valgrind suppressions

2011-12-03 Thread Paul Price
Paul Price pr...@astro.princeton.edu added the comment: Welcome. Thank you! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12612 ___ ___

[issue13522] Document error return values for PyFloat_* and PyComplex_*

2011-12-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I think it's still a good idea to spell it out explicitly in each function description. The document pointed by Mark is long enough that it's easy to overlook or forget that single important statement. -- nosy: +pitrou

[issue13515] Consistent documentation practices for security concerns and considerations

2011-12-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: For the record, the SSL module has a separate security considerations section: http://docs.python.org/dev/library/ssl.html#security-considerations -- ___ Python tracker rep...@bugs.python.org

[issue13521] Make dict.setdefault() atomic

2011-12-03 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13521 ___ ___

[issue13501] Make libedit support more generic; port readline / libedit to FreeBSD

2011-12-03 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Without having yet done a detailed review of the patch and the configure options, I don't see a need to open a second issue. The scope of this one is fine: generalizing the support of libedit to other platforms. --

[issue13515] Consistent documentation practices for security concerns and considerations

2011-12-03 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Attached a patch to make the CSS used for warnings and notes less evident by removing the red/gray background color. -- keywords: +patch Added file: http://bugs.python.org/file23842/issue13515.diff

[issue13515] Consistent documentation practices for security concerns and considerations

2011-12-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Added file: http://bugs.python.org/file23843/warnnew.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13515 ___

[issue13515] Consistent documentation practices for security concerns and considerations

2011-12-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: Added file: http://bugs.python.org/file23844/warnold.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13515 ___

[issue13515] Consistent documentation practices for security concerns and considerations

2011-12-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Attached a patch to make the CSS used for warnings and notes less evident by removing the red/gray background color. This really years for an icon, IMO. A bit more indenting would be good, too, so that it stands out clearly from the rest of the

[issue13521] Make dict.setdefault() atomic

2011-12-03 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Atomic and faster... +1. -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13521 ___

[issue13513] IOBase docs incorrectly link to the readline module

2011-12-03 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset fb8b6d310fb8 by Meador Inge in branch '2.7': Issue #13513: IOBase docs incorrectly link to the readline module http://hg.python.org/cpython/rev/fb8b6d310fb8 New changeset 9792e812198f by Meador Inge in branch '3.2':

[issue13513] IOBase docs incorrectly link to the readline module

2011-12-03 Thread Meador Inge
Meador Inge mead...@gmail.com added the comment: Fixed. Thanks for the review y'all. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13513

[issue13526] Deprecate the old Unicode API

2011-12-03 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: Attached patch modifies the following function to emit a DeprecationWarning: * PyUnicode_GET_SIZE() (and so PyUnicode_GET_DATA_SIZE()) * PyUnicode_AS_UNICODE() * PyUnicode_AsUnicodeAndSize() (and so PyUnicode_AsUnicode()) *

[issue13526] Deprecate the old Unicode API

2011-12-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I'm not sure it is customary for C APIs to emit deprecation warnings. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13526

[issue13523] Python does not warn in module .py files does not exist if there is still a .pyc file

2011-12-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Indeed, this is a feature, not a bug. Lone pyc files are used by some people to provide binary only distributions of Python software (I'm not really saying it's a good idea, but some people rely on it). As for symlinks, well... This would

[issue13527] Remove obsolete mentions in the GUIs page

2011-12-03 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: The Other Graphical User Interface Packages page (library/othergui.html) lists Python megawidgets and Tkinter3000 Widget Construction Kit (WCK). These two projects look pretty much dead to me, so I'm proposing to remove them. --

[issue13524] critical error with import tempfile

2011-12-03 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Re-opening because there's a real problem here which can crash Python hard. Simplest reproduction: import sys import subprocess subprocess.Popen (sys.executable, env={}) Affects 2.x and 3.x tip (haven't tried others yet but I don't imagine

[issue13524] critical error with import tempfile

2011-12-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Re-opening because there's a real problem here which can crash Python hard. Works under Linux. Is it Windows-specific? -- nosy: +pitrou stage: test needed - versions: -Python 3.1 ___ Python

[issue13524] critical error with import tempfile

2011-12-03 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Yes. I've added the Windows component on the tracker. (At least I think I have). It's to do with CreateProcess needing at least certain items in the environment passed. I'm trying to track down some docs on MSDN which specify which must be

[issue13506] IDLE sys.path does not contain Current Working Directory

2011-12-03 Thread Roger Serwy
Roger Serwy roger.se...@gmail.com added the comment: I have given this issue some further consideration, and realized that my +1 recommendation was not correct. Starting the interactive python interpreter will automatically include [''] in sys.path. A fresh restart of IDLE's shell does NOT

[issue13523] Python does not warn in module .py files does not exist if there is still a .pyc file

2011-12-03 Thread Julian Berman
Julian Berman julian+python@grayvines.com added the comment: I know this is a feature, and on occasion as pointed out a useful one. But in some cases it can be a tad annoying as the OP probably considered it. I had a recent example where a lingering .pyc made my test suite pass (and me

[issue13527] Remove obsolete mentions in the GUIs page

2011-12-03 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: +1 -- keywords: +easy nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13527 ___

[issue13211] urllib2.HTTPError does not have 'reason' attribute.

2011-12-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The 3.x buildbots are all broken: http://www.python.org/dev/buildbot/all/waterfall?category=3.x.stablecategory=3.x.unstable -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org

[issue12555] PEP 3151 implementation

2011-12-03 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: Is the following change in behavior caused by the fix for this issue? $ python3.2 -c $'class A(IOError):\n def __init__(self, arg): pass\nA(arg=1)' $ python3.3 -c $'class A(IOError):\n def __init__(self, arg):

[issue13211] urllib2.HTTPError does not have 'reason' attribute.

2011-12-03 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: I suspect that this problem is caused by the fix for issue #12555. -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13211

[issue13523] Python does not warn in module .py files does not exist if there is still a .pyc file

2011-12-03 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: In Python 3.2 and later, standalone .pyc files are no longer created as a side effect of import. Instead, cached files are stored in a __pycache__ subdirectory and ignored completely if the corresponding source file is no longer present.

[issue12555] PEP 3151 implementation

2011-12-03 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Indeed, this seems to be the most likely culprit for the current buildbot failures in the new urllib2 tests: http://www.python.org/dev/buildbot/all/builders/AMD64%20Gentoo%20Wide%203.x/builds/2868/steps/test/logs/stdio -- resolution:

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-12-03 Thread Ron Adam
Ron Adam ron3...@gmail.com added the comment: Instead of a get_instructions() function, How about using a DisCode class that defines the API for accessing Opinfo tuples of a disassembled object. So instead of... for instr in dis.bytecode_instructions(thing): process(instr) You

[issue13211] urllib2.HTTPError does not have 'reason' attribute.

2011-12-03 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: Antoine, I think Arfrever is on to something here. It does appear the new test added to test_urllib2 is failing, but for reasons I don't exactly understand. I'm initializing the HTTPError instance according to its signature in urllib.error,

[issue13211] urllib2.HTTPError does not have 'reason' attribute.

2011-12-03 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset a3ddee916808 by Jason R. Coombs in branch 'default': Pass positional arguments - HTTPError is not accepting keyword arguments. Reference #13211 and #12555. http://hg.python.org/cpython/rev/a3ddee916808 --

[issue12555] PEP 3151 implementation

2011-12-03 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset a3ddee916808 by Jason R. Coombs in branch 'default': Pass positional arguments - HTTPError is not accepting keyword arguments. Reference #13211 and #12555. http://hg.python.org/cpython/rev/a3ddee916808 --

[issue13464] HTTPResponse is missing an implementation of readinto

2011-12-03 Thread Jon Kuhn
Jon Kuhn jonk...@gmail.com added the comment: This is my first contribution to a real open source project. Attached is my patch. Suggestions for improvements are welcome. -- keywords: +patch nosy: +Jon.Kuhn Added file: http://bugs.python.org/file23847/issue13464.patch

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-12-03 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: Removed file: http://bugs.python.org/file23569/issue11816_get_opinfo_branch_20111031.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11816 ___

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-12-03 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- hgrepos: -17 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11816 ___ ___ Python-bugs-list mailing

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-12-03 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: Removed file: http://bugs.python.org/file23773/9512712044a6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11816 ___

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-12-03 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- hgrepos: +93 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11816 ___ ___ Python-bugs-list mailing

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-12-03 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: Added file: http://bugs.python.org/file23848/9512712044a6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11816 ___

[issue13526] Deprecate the old Unicode API

2011-12-03 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Quoting the PEP While the Py_UNICODE representation and APIs are deprecated with this PEP, no removal of the respective APIs is scheduled. The APIs should remain available at least five years after the PEP is accepted I don't think

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-12-03 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: OK, there's something crazy going on with Create Patch failing to pick up the latest changes. I've removed all the obsolete patches, and am doing another merge from default to see if I can get it to pick things up correctly. --

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-12-03 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: Removed file: http://bugs.python.org/file23848/9512712044a6.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11816 ___

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-12-03 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Grr, Create Patch insists on trying to produce a patch based on https://bitbucket.org/ncoghlan/cpython_sandbox/changesets/9512712044a6. That checkin is from *September* and ignores all my recent changes :P Relevant meta-tracker issue:

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-12-03 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: OK, manual up-to-date patch attached. -- Added file: http://bugs.python.org/file23849/issue11816_get_opinfo_branch_20111204.diff ___ Python tracker rep...@bugs.python.org

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-12-03 Thread Nick Coghlan
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