os.lisdir, gets unicode, returns unicode... USUALLY?!?!?

Terry Reedy tjreedy at udel.edu
Thu Nov 16 17:53:58 EST 2006


"gabor" <gabor at nekomancer.net> wrote in message 
news:edfc7$455cd28b$59ad1aca$8718 at news.flashnewsgroups.com...
> so if the to-unicode-conversion fails, it falls back to the original
> byte-string. i went and have read the patch-discussion.
>
> and now i'm not sure what to do.
> i know that:
>
> 1. the documentation is completely wrong. it does not always return
> unicode filenames

Unless someone says otherwise, report the discrepancy between doc and code 
as a bug on the SF tracker.  I have no idea of what the resolution should 
be ;-).

tjr






More information about the Python-list mailing list