Martin Panter added the comment: I always assumed that None was a unwise value to pass to the “os.path” functions. Indeed, at the top of the documentation page it says they only accept bytes or (text) string parameters. Although returning a consistent error might be a sensible addition.
---------- nosy: +vadmium _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22587> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com