tempfile & asyncio

208 views
Skip to first unread message

cr0hn

unread,
Jan 26, 2020, 11:47:57 AM1/26/20
to python-tulip
Hello everybody,

I need use tempfile package in asyncio coro, but I don’t know if the functions calls in tempfile package perform any operations that lock the event loop while it’s returns a temp file or directory.

Some help welcome. Thanks in advance.

The best
signature.asc

Guido van Rossum

unread,
Jan 26, 2020, 12:25:12 PM1/26/20
to cr0hn, python-tulip
They just do disk I/O, so I don't think there's anything to worry about. Otherwise, just read the source.

PS. This list will be decommissioned.

--
You received this message because you are subscribed to the Google Groups "python-tulip" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tulip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python-tulip/0526dc8b-9a5b-4d2e-b5d2-ef6298da9af6%40Canary.


--
--Guido van Rossum (python.org/~guido)
Reply all
Reply to author
Forward
0 new messages