homepage

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 <1503056134.07.0.115501783894.issue14976@psf.upfronthosting.co.za>
In-reply-to
Content
`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.
History
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: <1503056134.07.0.115501783894.issue14976@psf.upfronthosting.co.za>
2017年08月18日 11:35:34pitroulinkissue14976 messages
2017年08月18日 11:35:33pitroucreate

AltStyle によって変換されたページ (->オリジナル) /