Commit Graph

33 Commits

Author SHA1 Message Date
Adam Turner 113e490701
Several PEPs: Use explicit `:pep:` and `:rfc:` roles (#2209) 2022-01-21 11:03:51 +00:00
Marti Raudsepp 9b64c6ea75
Various typo/grammar/style fixes (#1789)
Changes detected by Topy (https://github.com/intgr/topy), all changes
verified by hand, false positives have been omitted.

These range from straight-out misspellings to debatable hyphen placement.
The hyphen changes are supported by grammar manuals of style.
2021-02-03 06:06:23 -08:00
Carl Friedrich Bolz-Tereick f76fa9f5bf PEP 567: typo in pseudocode of ContextVar.reset (#1262) 2019-12-23 11:19:34 -08:00
Yury Selivanov f97aa37e6a
Update Yury S. & Elvis P. emails (#1165) 2019-09-12 12:36:34 +01:00
Yury Selivanov 977a94d1a7
Fix PEP 567 to reflect changes in 3.7.1 (see bpo-34762) (GH-787) 2018-09-21 15:37:11 -04:00
Yury Selivanov a58594429e
pep-567: Add another reason why Contexts are not mutable (#623) 2018-04-18 14:20:36 -04:00
Yury Selivanov be2ca6bbaa
pep-567: Update status (#556) 2018-01-22 20:11:15 -05:00
Yury Selivanov a459539920 pep-567: Tweak C API (#555)
* Rename PyContext_Copy() to PyContext_CopyCurrent()
* Add new PyContext_Copy(PyContext *)
2018-01-21 12:39:33 -08:00
Yury Selivanov 11df871d32
Add an Acknowledgments section (#553) 2018-01-19 15:55:02 -05:00
Yury Selivanov 6108e7c2eb
pep-567: Fix section header (#552) 2018-01-18 14:33:04 -05:00
Yury Selivanov 2bd2b7eb7d pep-567: Merge "Design Considerations" and "Rejected Ideas" (#551)
The "Design Considerations" section had only one subsection which
was a discussion of a rejected idea.  Merging it into "Rejected Ideas"
simplifies the document structure.

Fix a bug in a code snippet in the "ContextVar.unset()" subsection.

Adjust titles in the Rejected Ideas section.
2018-01-18 10:49:51 -08:00
Yury Selivanov 722ab66fac pep-567: Add two more subsections to Rejected Ideas (#550) 2018-01-17 21:07:14 -08:00
Yury Selivanov 72662b81ee
pep-567: Fix formatting (#546) 2018-01-17 22:59:27 -05:00
Yury Selivanov f138b81300 pep-567: Update the Rejected Ideas section (#544) 2018-01-17 17:27:11 -08:00
Yury Selivanov 07e87ce3d3
pep-567: ContextVar.reset() raises a RuntimeErorr on already used tokens (#542) 2018-01-17 12:42:29 -05:00
Yury Selivanov c25174f10d
pep-567: Fix nits/typos (#541) 2018-01-17 11:13:59 -05:00
Yury Selivanov 583a14f814
pep-567: V3. (#536) 2018-01-17 08:54:57 -05:00
Yury Selivanov 59eaf3d574
Make PyContextVar_Get return a new ref (#525) 2017-12-28 11:58:12 -05:00
Yury Selivanov 25324f863f
Pep567 v2 (#524)
* pep-567: Update C API; get_context() -> copy_context()

* pep-567: Add ref implementation; update C API; copy_context()
2017-12-28 01:01:05 -05:00
Yury Selivanov 90b01262c0
pep-567: Tweak C API (#520) 2017-12-22 17:49:57 -05:00
Yury Selivanov 5a43c3b83a
pep-567: Rejected Ideas, Token usability, fixes (#511) 2017-12-13 17:06:41 -05:00
Yury Selivanov 75fe7fe8b8
pep-567: More additions (#510)
* Add Token.MISSING and Token.old_value
* Change the signature of PyContextVar_Reset
2017-12-13 12:25:17 -05:00
Yury Selivanov 3b59266d43
pep-567: Add a Token section to the Specification (#509) 2017-12-12 23:42:13 -05:00
Yury Selivanov 29ab20e269
pep-567: Add C API section. (#508) 2017-12-12 23:16:51 -05:00
Yury Selivanov 40eb4e992a
pep-567: Additions (#507)
* Add **kwargs to Context.run()
* Add a concurrent.futures example
* Better clarify the need for Token
* What's N in O(N)
* Context() creates an empty Context
* Mention Context.name in the Specification
* Fix "build upon" as Guido suggests on the ML
* Clarify NO_DEFAULT and NO_VALUE markers
* Rename .__ to ._; drop HAMT from Implemenentation
* Add Implementation Notes
2017-12-12 23:03:05 -05:00
Guido van Rossum dda6d8b229 More uncontroversial updates to PEP 567 (#506) 2017-12-12 22:40:33 -05:00
Yury Selivanov 4a8143fc16
pep-567: More fixes (#505) 2017-12-12 21:39:08 -05:00
Yury Selivanov c1f434c437
pep-567: More fixes (#504) 2017-12-12 20:41:25 -05:00
Chris Angelico 036a750513 Copyedit PEP 567 with small and hopefully non-controversial changes (#503) 2017-12-12 20:03:42 -05:00
Yury Selivanov 08ace1389d
pep 567: Mention Future.add_done_callback() (#502) 2017-12-12 18:17:01 -05:00
Yury Selivanov b0528e63c6 pep 567: Fix markup (#501) 2017-12-12 12:29:19 -08:00
Yury Selivanov d793b139f7
pep-0567: Fix markup (#500) 2017-12-12 12:21:33 -05:00
Yury Selivanov af7f732146
Add PEP 567 -- Context Variables (#499) 2017-12-12 12:11:31 -05:00