[issue2856] os.listdir doc should mention that Unicode decoding can fail

2009-05-26 Thread Martin v. Löwis
Changes by Martin v. Löwis : -- versions: +Python 2.7 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2856] os.listdir doc should mention that Unicode decoding can fail

2009-05-16 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r72678. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue2856] os.listdir doc should mention that Unicode decoding can fail

2009-05-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Is it about 2.6 or 3.0/3.1? This problem should have been solved in 3.1, by the way of special escaping for undecodable characters (that is, os.listdir() will always return strings rather than bytes objects, but some of those strings may have special escapes in

[issue2856] os.listdir doc should mention that Unicode decoding can fail

2009-05-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- components: +Library (Lib), Unicode nosy: +haypo, loewis priority: -> normal versions: +Python 2.6, Python 3.1 -Python 2.3, Python 2.4, Python 2.5 ___ Python tracker ___

[issue2856] os.listdir doc should mention that Unicode decoding can fail

2008-05-14 Thread Brodie Rao
New submission from Brodie Rao <[EMAIL PROTECTED]>: The documentation for os.listdir should mention that there's a possibility that it can fail to decode paths to unicode objects and that it returns str objects for those paths it couldn't decode. The documentation should also explain when this