[issue13375] Provide a namedtuple style interface for os.walk values

Antoine Pitrou report at bugs.python.org
Wed Nov 9 22:49:59 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> Like any named tuple, the benefits lie in the better repr, and the fact
> that if you only want some fields you don't have to unpack the whole
> tuple.

But, given the common idiom shown by Benjamin, how likely is it that you manipulate the tuple as-is?

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list