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 njs
Recipients gregory.p.smith, ncoghlan, njs, pitrou, yselivanov
Date 2017-09-08.19:46:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504899961.44.0.0454482495109.issue31388@psf.upfronthosting.co.za>
In-reply-to
Content
Sure, but whatever overhead it has, it has. Once we're paying for it, new keys are free (at yield/resume time).

Compared to a bare thread-local it probably has somewhat higher overhead when we have to check it, but (a) that's why PEP 550 has a clever caching mechanism, and (b) you don't have to check it until you have a pending signal, and you almost never have a pending signal.

Anyway, we can wait until PEP 550 settles down before making any commitment here...
History
Date User Action Args
2017-09-08 19:46:01njssetrecipients: + njs, gregory.p.smith, ncoghlan, pitrou, yselivanov
2017-09-08 19:46:01njssetmessageid: <1504899961.44.0.0454482495109.issue31388@psf.upfronthosting.co.za>
2017-09-08 19:46:01njslinkissue31388 messages
2017-09-08 19:46:01njscreate