[issue40701] tempfile mixes str and bytes in an inconsistent manner

Gregory P. Smith report at bugs.python.org
Wed May 27 15:59:51 EDT 2020


Gregory P. Smith <greg at krypto.org> added the comment:

I expect the best decision to be to get rid of tempfile.tempdir entirely.  That would need be its own issue with a deprecation period involved.

A process global that alters behavior of all calls into a module that don't explicitly opt-out is a bad API.

----------

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


More information about the Python-bugs-list mailing list