STINNER Victor <vstin...@python.org> added the comment:
Vinay: Oh, thanks for the fix! Using os.path.isfile() is a reasonable fix to detect if the file is a device. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45401> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com