2 ms·
But what if you already loaded with gil and the 2000th module asks for nogil?
by LtWorf 3y ago
But what if you already loaded with gil and the 2000th module asks for nogil?
- sitkack 3y agotry: import nogil except ImportError as ie: print(ie) nogil = None if nogil: # gill free code here pass else: # gil requring code here pass