You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
334 B
8 lines
334 B
5 years ago
|
# a deadlock is possible if we import a module that runs Gevent's getaddrinfo
|
||
|
# with a unicode hostname, which starts Python's getaddrinfo on a thread, which
|
||
|
# attempts to import encodings.idna but blocks on the import lock. verify
|
||
|
# that Gevent avoids this deadlock.
|
||
|
|
||
|
import getaddrinfo_module
|
||
|
del getaddrinfo_module # fix pyflakes
|