New submission from Larry Hastings <la...@hastings.org>:

When you pass in a file descriptor as the first argument to listdir, its output 
is a list of strings, not a list of bytes.  This should be mentioned in the 
documentation.  It's also worth making a pass over the other functions 
accepting an fd.

As it happens, the code that implements this behavior is obtuse.  So I propose 
also modifying it to be more intelligible.

----------
assignee: larry
messages: 163885
nosy: georg.brandl, larry, ncoghlan
priority: normal
severity: normal
stage: needs patch
status: open
title: Clarify the behavior of listdir(fd) in both code and documentation
type: enhancement
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15176>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to