blob: a7a4a1ce999afebc3025fdd3c5cc95f69417b5e2 (
plain)
1
2
3
4
5
6
|
When the :data:`tempfile.tempdir` global variable is set to a value of
type bytes, it is now handled consistently. Previously exceptions
could be raised from some tempfile APIs when the directory did not
already exist in this situation. Also ensures that the
:func:`tempfile.gettempdir()` and :func:`tempfile.gettempdirb()`
functions *always* return ``str`` and ``bytes`` respectively.
|