[issue4503] exception traceback sometimes slow
Hirokazu Yamamoto
report at bugs.python.org
Wed Dec 3 13:48:44 CET 2008
Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:
Traceback (most recent call last):
File "a.py", line 4, in <module>
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", line 222, in open
closefd)
File "e:\python-dev\py3k\lib\io.py", line 615, in __init__
_fileio._FileIO.__init__(self, name, mode, closefd)
IOError: [Errno 2] No such file or directory: 'foobar'
[33393 refs]
For example, some delay after
File "e:\python-dev\py3k\lib\zipfile.py", line 683, in __init__
this line. I don't know why, but maybe because current io module is not
written in C.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4503>
_______________________________________
More information about the Python-bugs-list
mailing list