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 baikie
Recipients baikie, loewis
Date 2008-06-02.17:59:29
SpamBayes Score 0.147579
Marked as misclassified No
Message-id <>
Hmm, yes, I see that the open() builtin doesn't accept bytes
filenames, though still does.  When I saw that you
could pass bytes filenames transparently from os.listdir() to, I assumed that this was intentional!

So what *is* os.listdir() supposed to do when it finds an
unconvertible filename?  Raise an exception?  Pretend the file
isn't there?  What if someone puts unconvertible strings in the
password database?  I think this is going to cause real problems
for people.
Date User Action Args
2008-06-02 17:59:53baikiesetspambayes_score: 0.147579 -> 0.147579
recipients: + baikie, loewis
2008-06-02 17:59:48baikiesetspambayes_score: 0.147579 -> 0.147579
messageid: <>
2008-06-02 17:59:43baikielinkissue3023 messages
2008-06-02 17:59:39baikiecreate