Why "if sys is None" all over the place in gevent.threadpool?

35 views
Skip to first unread message

vitaly

unread,
Nov 10, 2012, 3:06:08 AM11/10/12
to gev...@googlegroups.com
Just trying to learn the tricks of the masters: I noticed a number of "if sys is None: return" blocks in gevent.threadpool.  Why would sys become None?

Many thanks,
Vitaly

Saúl Ibarra Corretgé

unread,
Nov 12, 2012, 5:46:55 AM11/12/12
to gev...@googlegroups.com
I believe that's the case on interpreter shutdown.
Reply all
Reply to author
Forward
0 new messages