This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hagen
Recipients hagen
Date 2008-08-27.14:26:01
SpamBayes Score 2.9573187e-07
Marked as misclassified No
Message-id <1219847162.49.0.00805052293115.issue3703@psf.upfronthosting.co.za>
In-reply-to
Content
When trying to open a directory (on Linux), Python 2.x complained with

>>> open("local")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IOError: [Errno 21] Is a directory

Python 3.0 however gives the rather unhelpful or even wrong

>>> open("local")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/MC/hagenf/local/lib/python3.0/io.py", line 284, in __new__
    return open(*args, **kwargs)
  File "/home/MC/hagenf/local/lib/python3.0/io.py", line 223, in open
    closefd)
IOError: [Errno 0] Error: 'local'
History
Date User Action Args
2008-08-27 14:26:02hagensetrecipients: + hagen
2008-08-27 14:26:02hagensetmessageid: <1219847162.49.0.00805052293115.issue3703@psf.upfronthosting.co.za>
2008-08-27 14:26:01hagenlinkissue3703 messages
2008-08-27 14:26:01hagencreate