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 masamoto
Recipients EdSchouten, erik.bray, masamoto, ncoghlan, r.david.murray, vstinner
Date 2017-01-09.12:46:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483965988.68.0.219523980196.issue25658@psf.upfronthosting.co.za>
In-reply-to
Content
After Erik posted PEP 539 draft, we've discussed features of new API on the Python-ideas [*]. As the result of discussion, features of new API have been changed below points. Thus, I updated patch based on the result.

1. API uses opaque type because to cover the key details.
2. The key has the state that is whether initialized, and a function is added to check the state.
3. When key creation and deletion, API silently skips function in unnecessary case (i.e. valid key never be overwritten).
4. The test is added to check the key state that after calling API.

[*] https://mail.python.org/pipermail/python-ideas/2016-December/043983.html
History
Date User Action Args
2017-01-09 12:46:30masamotosetrecipients: + masamoto, ncoghlan, vstinner, r.david.murray, erik.bray, EdSchouten
2017-01-09 12:46:28masamotosetmessageid: <1483965988.68.0.219523980196.issue25658@psf.upfronthosting.co.za>
2017-01-09 12:46:28masamotolinkissue25658 messages
2017-01-09 12:46:28masamotocreate