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 JohanAR, davin, itamarst, ncoghlan, pitrou, python-dev, rhettinger, sbt, serhiy.storchaka, tim.peters, yselivanov, zzzeek
Date 2017-08-18.11:35:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
`unfinished_tasks` is not a public attribute AFAIK (it's not documented).

The change is necessary: you cannot increment unfinished_tasks in reentrant put(), since incrementing in pure Python is not atomic.  So the incrementation is moved to get(), which probably cannot be made reentrant at all.

If keeping the visible semantics of the `unfinished_tasks` attribute is important, we could make it a property that computes the desired value.
Date User Action Args
2017-08-18 11:35:34pitrousetrecipients: + pitrou, tim.peters, rhettinger, ncoghlan, zzzeek, python-dev, sbt, serhiy.storchaka, JohanAR, yselivanov, itamarst, davin
2017-08-18 11:35:34pitrousetmessageid: <>
2017-08-18 11:35:34pitroulinkissue14976 messages
2017-08-18 11:35:33pitroucreate