[issue4503] exception traceback sometimes slow

2009-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: I suppose we can close this now, it should be solved with the IO-C rewrite in 3.1, and won't be backported to 3.0. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue4503] exception traceback sometimes slow

2008-12-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: No, e: is not netword drive. It's another partition on hard drive. But my machine is pretty slow. >Also, you are using a debug build. Is the slowdown still noticeable with >a release build? I tried release build(VC6), and was much faster.

[issue4503] exception traceback sometimes slow

2008-12-03 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Is "e:" a network drive? This could explain the delay. But it's true that the code that displays the exception has to call readline() 683 times, and this code is written in python. There is a project to rewrite io.py in C... Also, you

[issue4503] exception traceback sometimes slow

2008-12-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Traceback (most recent call last): File "a.py", line 4, in zipfile.PyZipFile("foobar") File "e:\python-dev\py3k\lib\zipfile.py", line 683, in __init__ self.fp = io.open(file, modeDict[mode]) File "e:\python-dev\py3k\lib\io.py

[issue4503] exception traceback sometimes slow

2008-12-03 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: What do you mean by "slow"? I can't reproduce under Linux. -- nosy: +pitrou ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4503] exception traceback sometimes slow

2008-12-03 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: Please try this code. import zipfile zipfile.PyZipFile("foobar") I'm not sure this is problematic or not. -- messages: 76823 nosy: ocean-city severity: normal status: open title: exception traceback sometimes slow versions: Pyt