Hirokazu Yamamoto <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4503>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to