Philip Rowlands <pythonb...@dimebar.com> added the comment:
How about - If tempdir is unset or None at any call to + If tempdir is None (the default) at any call to This avoids headaches over the meaning of "unset", and accurately reflects the code at: https://github.com/python/cpython/blob/3.6/Lib/tempfile.py#L289 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33894> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com