[New-bugs-announce] [issue27085] Make it possible to select return type for os.listdir

Evgeny Kapun report at bugs.python.org
Sun May 22 14:08:24 EDT 2016


New submission from Evgeny Kapun:

Currently, os.listdir returns a list of strings, unless called with a bytes argument, in which case a list of byte strings is returned. I think that there should be a keyword argument to override this selection.

----------
components: Library (Lib)
messages: 266093
nosy: abacabadabacaba
priority: normal
severity: normal
status: open
title: Make it possible to select return type for os.listdir
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27085>
_______________________________________


More information about the New-bugs-announce mailing list