[issue43959] Improve documentation of PyContextVar C-API

2021-04-28 Thread Stefan Behnel
Change by Stefan Behnel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43959] Improve documentation of PyContextVar C-API

2021-04-28 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset ff7266efd0ef6b42dad30c9c0d210f843cc44f39 by Miss Islington (bot) in branch '3.8': bpo-43959: clarify the documentation of the PyContextVar C-API (GH-25671) (GH-25690) https://github.com/python/cpython/commit/ff7266efd0ef6b42dad30c9c0d210f843cc44

[issue43959] Improve documentation of PyContextVar C-API

2021-04-28 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset fdb11897d7c8f9e6bdf96fcef802f784ef90f726 by Miss Islington (bot) in branch '3.9': bpo-43959: clarify the documentation of the PyContextVar C-API (GH-25671) (GH-25689) https://github.com/python/cpython/commit/fdb11897d7c8f9e6bdf96fcef802f784ef90f

[issue43959] Improve documentation of PyContextVar C-API

2021-04-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +24380 pull_request: https://github.com/python/cpython/pull/25690 ___ Python tracker ___ __

[issue43959] Improve documentation of PyContextVar C-API

2021-04-28 Thread miss-islington
miss-islington added the comment: New changeset 4c49be766897968e509c41397e0e624c25b1675d by scoder in branch 'master': bpo-43959: clarify the documentation of the PyContextVar C-API (GH-25671) https://github.com/python/cpython/commit/4c49be766897968e509c41397e0e624c25b1675d -- nosy:

[issue43959] Improve documentation of PyContextVar C-API

2021-04-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +24379 pull_request: https://github.com/python/cpython/pull/25689 ___ Python tracker ___ __

[issue43959] Improve documentation of PyContextVar C-API

2021-04-27 Thread Stefan Behnel
Change by Stefan Behnel : -- keywords: +patch pull_requests: +24362 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25671 ___ Python tracker ___ __

[issue43959] Improve documentation of PyContextVar C-API

2021-04-27 Thread Stefan Behnel
New submission from Stefan Behnel : The documentation of the PyContextVar C-API is unclear in a couple of places. - It's not clear whether PyContextVar_Get() always returns an owned reference also for default values or only if a value was found. - It's not explicit that "optional" actually mea