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 <rep...@bugs.python.org> <http://bugs.python.org/issue26429> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com