def reinit():
 global _initialized, _loaded_packages
 _initialized = False
 del _loaded_packages[:]
 REGISTERED_TYPES.clear()
 _init()

def reinit ( ) : global _initialized , _loaded_packages _initialized = False del _loaded_packages [ : ] REGISTERED_TYPES . clear ( ) _init ( )
prepare the gevent hub to run in a new process .