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 pitrou
Recipients Pat Riehecky, bquinlan, pitrou
Date 2015-07-31.20:38:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438375118.19.0.571161296868.issue24767@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think len() is a good idea for this, it's not obvious enough (why the number of tasks and not the number of threads/processes, for example?). Also, len() can make the object evaluate false-y in a boolean context, if len() returns 0.

A dedicated method would probably be ok, though. With the caveat that the return value would always be an approximation of the "actual" value.
History
Date User Action Args
2015-07-31 20:38:38pitrousetrecipients: + pitrou, bquinlan, Pat Riehecky
2015-07-31 20:38:38pitrousetmessageid: <1438375118.19.0.571161296868.issue24767@psf.upfronthosting.co.za>
2015-07-31 20:38:38pitroulinkissue24767 messages
2015-07-31 20:38:38pitroucreate