[issue11344] Add height argument to os.path.dirname()

R. David Murray report at bugs.python.org
Sun Feb 27 18:45:01 CET 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

No, it isn't a design principle.  My point was that unix hasn't found it useful to add a level option to the dirname API.

I don't know that I personally have ever had occasion to peel off more than one directory level without also wanting to do something with the intermediate results, so perhaps I am not a good judge of how useful this would be.

----------

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


More information about the Python-bugs-list mailing list