I have the following script:
from multiprocessing import Lock, Pool
def worker():
r = other.work()
return r
def main():
pool = Pool(4)
result = pool.apply_sync(worker,())
result.wait()
In worker(), I call function work() from another module 'other', However, I forget to import the module 'other'. But when I ran this python script, python didn't report any Exception. Is this a bug ?