Message331720
Currently, the error only occurs when apply() is called:
---
import multiprocessing
def the_test():
pool = multiprocessing.Pool(1)
with pool:
print(pool.apply(int, (2,)))
with pool:
print(pool.apply(int, (3,))) # <-- raise here
the_test()
---
I would prefer to get an error on at the second "with pool:" line. |
|
Date |
User |
Action |
Args |
2018-12-12 23:16:11 | vstinner | set | recipients:
+ vstinner |
2018-12-12 23:16:11 | vstinner | set | messageid: <1544656571.55.0.788709270274.issue35477@psf.upfronthosting.co.za> |
2018-12-12 23:16:11 | vstinner | link | issue35477 messages |
2018-12-12 23:16:11 | vstinner | create | |
|