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 schlamar
Recipients ezio.melotti, giampaolo.rodola, hynek, janssen, loewis, pitrou, schlamar, terry.reedy
Date 2012-06-05.18:49:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338922144.87.0.745800251474.issue14907@psf.upfronthosting.co.za>
In-reply-to
Content
Well, the Unicode HOWTO states:

When opening a file for reading or writing, you can usually just provide the Unicode string as the filename, and it will be automatically converted to the right encoding for you

This is really an unexpected behavior which could be easily missed by a test case so I would really vote for making this clear in the documentation.
History
Date User Action Args
2012-06-05 18:49:05schlamarsetrecipients: + schlamar, loewis, terry.reedy, janssen, pitrou, giampaolo.rodola, ezio.melotti, hynek
2012-06-05 18:49:04schlamarsetmessageid: <1338922144.87.0.745800251474.issue14907@psf.upfronthosting.co.za>
2012-06-05 18:49:04schlamarlinkissue14907 messages
2012-06-05 18:49:03schlamarcreate