This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gene@nlc.co.nz
Recipients gene@nlc.co.nz
Date 2017-10-08.20:51:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507495871.16.0.213398074469.issue31729@psf.upfronthosting.co.za>
In-reply-to
Content
To monitor how much of my multiprocess.Pool is completed I am forced to use undocumented features which I fear mat changed in the future. Especially result._number_left which looks like a private variable. Can you please document the result from Pool.map_async() and make the _number_left a proper method, e.g result.number_completed()

result = pool.map_async(process_employee, gen_emps, chunksize=1)
while not result.ready():
   left = result._number_left

It is not possible to pass Pipes, Queues or Shared memory to Pool workers in order for them to signal back to the master when them have completed a job.
History
Date User Action Args
2017-10-08 20:51:11gene@nlc.co.nzsetrecipients: + gene@nlc.co.nz
2017-10-08 20:51:11gene@nlc.co.nzsetmessageid: <1507495871.16.0.213398074469.issue31729@psf.upfronthosting.co.za>
2017-10-08 20:51:11gene@nlc.co.nzlinkissue31729 messages
2017-10-08 20:51:11gene@nlc.co.nzcreate