Author serhiy.storchaka
Recipients Anthony Sottile, georg.brandl, maurosr, ncoghlan, pitrou, r.david.murray, serhiy.storchaka
Date 2020-03-26.19:32:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Well, then I think there is nothing to do this.

Compatibility with context manager protocol is not a goal if it does nothing on exit. In any case you can easy to make it in three lines:

def mymkdtemp():
    yield mkdtemp()

NamedTemporaryFile is more complex than mkstemp(). It creates a file object and closes a file descriptor even if leave the file on the filesystem.
Date User Action Args
2020-03-26 19:32:11serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, ncoghlan, pitrou, r.david.murray, maurosr, Anthony Sottile
2020-03-26 19:32:11serhiy.storchakasetmessageid: <>
2020-03-26 19:32:11serhiy.storchakalinkissue25024 messages
2020-03-26 19:32:11serhiy.storchakacreate