[New-bugs-announce] [issue26429] os.path.dirname returns empty string instead of "." when file is in current directory

Chaitanya Mannem report at bugs.python.org
Wed Feb 24 12:46:08 EST 2016


New submission from Chaitanya Mannem:

Don't know if this is for windows compatibility or whatever but I think it makes more sense if os.path.dirname would return "." if the file passed in was in the current directory.

----------
components: Library (Lib)
messages: 260821
nosy: Chaitanya Mannem
priority: normal
severity: normal
status: open
title: os.path.dirname returns empty string instead of "." when file is in current directory
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

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


More information about the New-bugs-announce mailing list