[issue18482] dis.dis fails on one letter strings.

2013-07-17 Thread R. David Murray
R. David Murray added the comment: Ah, yes, I see that you are correct. -- resolution: -> out of date stage: -> committed/rejected status: open -> closed type: crash -> enhancement ___ Python tracker

[issue18482] dis.dis fails on one letter strings.

2013-07-17 Thread STINNER Victor
STINNER Victor added the comment: > Haypo: it gives a result on python3. It is a new feature of Python 3.2: see issue #6507. New features are no more added to Python 2, so you now have a good reason to upgrade to Python 3 ;-) -- ___ Python tracker

[issue18482] dis.dis fails on one letter strings.

2013-07-17 Thread R. David Murray
R. David Murray added the comment: Haypo: it gives a result on python3. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue18482] dis.dis fails on one letter strings.

2013-07-17 Thread STINNER Victor
STINNER Victor added the comment: I don't understand why do you consider IndexError as an issue. Do you expect another exception? b"t" is not a valid bytecode. -- nosy: +haypo ___ Python tracker __

[issue18482] dis.dis fails on one letter strings.

2013-07-17 Thread R. David Murray
R. David Murray added the comment: NB: This is only a bug in python2. -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-

[issue18482] dis.dis fails on one letter strings.

2013-07-17 Thread James Lu
New submission from James Lu: dis.dis fails on one letter strings. dis.dis("t") Traceback (most recent call last): File "", line 1, in dis.dis("t") File "C:\python 25\lib\dis.py", line 44, in dis disassemble_string(x) File "C:\python 25\lib\dis.py", line 111, in disassemble_string