Serhiy Storchaka added the comment:

This is documented behavior and changing this will break existing code (for 
example see the implementation of glob.glob()).

If you need this, a workaround is simple and idiomatic: ``os.path.dirname(path) 
or os.curdir``.

----------
nosy: +serhiy.storchaka
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

_______________________________________
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

Reply via email to