Berker Peksag added the comment: This has already been fixed in ea7b6a7827a4:
>>> import os >>> os.fspath(None) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: expected str, bytes or os.PathLike object, not NoneType ---------- nosy: +berker.peksag resolution: -> out of date status: open -> closed superseder: Show the address in the repr for class objects -> type: -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27232> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com