This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ericzolf, gregory.p.smith, serhiy.storchaka
Date 2020-05-25.07:35:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In any case this is a new feature, so it can be added only in 3.10, and we need the documentation patch for 3.9 and older.

As a workaround you can use os.fsdecode():

tempfile.tempdir = os.fsdecode(b'/doesntexist')
Date User Action Args
2020-05-25 07:35:41serhiy.storchakasetrecipients: + serhiy.storchaka, gregory.p.smith, ericzolf
2020-05-25 07:35:41serhiy.storchakasetmessageid: <>
2020-05-25 07:35:41serhiy.storchakalinkissue40701 messages
2020-05-25 07:35:41serhiy.storchakacreate