[issue31380] test_undecodable_filename() in Lib/test/test_httpservers.py broken on APFS

STINNER Victor report at bugs.python.org
Tue Nov 28 04:54:15 EST 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

> @vstinner, as the expert in this area, what do you suggest as the best way to deal with this?  In support.__init__.py?  Or test_httpservers itself?

It's tricky when a filename is valid or not depending on the path, depending on the filesystem. The tempfile module checks if O_TMPFILE is supported: same issue, it depends on the path, and the user can configure the path. So we check each time if O_TMPFILE works or not.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31380>
_______________________________________


More information about the Python-bugs-list mailing list