[issue3187] os.listdir can return byte strings

STINNER Victor report at bugs.python.org
Tue Oct 7 01:34:57 CEST 2008


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Le Tuesday 07 October 2008 01:13:22 Martin v. Löwis, vous avez écrit :
> IIUC, these fixes are still not complete: they lack documentation
> changes. (...) Of course, it would have been better if the original patches 
> already contained the necessary documentation and test suite changes.

Most (or all) patches include new tests about bytes. Here is a patch for 
os.rst documentation about listdir(), getcwdb() and readlink().

> See msg74271 for what Guido considers the lacking documentation;
> you may find that other aspects also need documentation.

I wrote a long document about bytes for filenames but not only. I'm still 
waiting for some contributors or reviewers:
http://wiki.python.org/moin/Python3UnicodeDecodeError

> As for test cases: it seems that those got waived, in the hurry.

Can you be more precise? Which tests have to be improved/rewritten?

Added file: http://bugs.python.org/file11721/library_os_doc.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3187>
_______________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: library_os_doc.patch
URL: <http://mail.python.org/pipermail/python-bugs-list/attachments/20081006/d17826e9/attachment.txt>


More information about the Python-bugs-list mailing list