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 loewis
Date 2003-03-03.16:39:34
SpamBayes Score
Marked as misclassified
Logged In: YES 

Clearing the error is bad, I agree. I see two options:
reraise the exception, deleting the result obtained so far
(i.e. as the code did that the latest patch removes), OR add
a byte string instead of the Unicode string into the result.
Even though I have proposed the latter in the past, I could
also accept the former; applications that anticipate that
exception then just need to re-invoke listdir with a byte
string, and deal with the result themselves.

With these changes, the patch is fine with me.
Date User Action Args
2007-08-23 15:20:30adminlinkissue683592 messages
2007-08-23 15:20:30admincreate