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 giltay
Recipients giltay
Date 2008-09-25.15:56:16
SpamBayes Score 1.7992219e-11
Marked as misclassified No
Message-id <1222358181.85.0.131055408857.issue3965@psf.upfronthosting.co.za>
In-reply-to
Content
In 2.6rc2, when I try to open a file with a unicode filename with a tab
in it, Python crashes on Win2000 and WinXP.  Bytestrings raise an
IOError as expected.  I'm using the Windows ia32 binaries.

C:\>c:\python26\python
Python 2.6rc2 (r26rc2:66507, Sep 18 2008, 14:27:33) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> f = open('c:\temp\temp.txt')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IOError: invalid filename: c:   emp     emp.txt or mode: r
>>> f = open(u'c:\temp\temp.txt')
[[Crash happens here.]]
C:\>

I also get crashes for other unprintables \a \b \f \n \r \v \x03 and so on.

I'm not getting this on 2.5.2 or 3.0rc1.
History
Date User Action Args
2008-09-25 15:56:21giltaysetrecipients: + giltay
2008-09-25 15:56:21giltaysetmessageid: <1222358181.85.0.131055408857.issue3965@psf.upfronthosting.co.za>
2008-09-25 15:56:20giltaylinkissue3965 messages
2008-09-25 15:56:20giltaycreate