Commit Graph

24 Commits

Author SHA1 Message Date
Yury Selivanov f97aa37e6a
Update Yury S. & Elvis P. emails (#1165) 2019-09-12 12:36:34 +01:00
Elvis Pranskevichus 590f68479c PEP 550: Withdraw in favor of PEP 567. (#559) 2018-01-27 16:08:22 -05:00
Yury Selivanov dbdf6917b9 pep-550: Fix a couple of typos (#387) 2017-09-01 22:54:46 -04:00
Yury Selivanov c99d31840f pep550: Mention EC.vars() (#386) 2017-09-01 22:44:43 -04:00
Yury Selivanov 9931bb814d PEP-0550 V5 (#385)
Changes:

* Coroutines have no logical context by default (a revert to the V3
  semantics).

* All APIs have been placed to the ``contextvars`` module, and
  the factory functions were changed to class constructors
  (``ContextVar``, ``ExecutionContext``, and ``LogicalContext``).

* ContextVar.lookup() got renamed back to ContextVar.get() and gained
  the `topmost` and `default` keyword arguments;

* Added ContextVar.delete().

* Fixed ContextVar.get() cache bug (thanks Nathaniel!).

* Added a few more design considerations points.

* Various minor edits and enchancements.
2017-09-01 18:46:39 -04:00
Elvis Pranskevichus 08871010d4 PEP-550: Mention why threading.local()-like interface was rejected (#377) 2017-08-26 13:52:36 -04:00
Yury Selivanov 977886f683 pep-550: Rename get -> lookup (#376) 2017-08-25 23:42:12 -04:00
Yury Selivanov 1b8728ded7 PEP-0550 V4 (#375) 2017-08-25 18:21:39 -04:00
Yury Selivanov 287ed87bb4 PEP 550 v3 (#355)
* pep-550: Rename LocalContext -> LogicalContext

* pep-550: Rename ContextItem -> ContextKey

* pep-550: Update ContextKey caching

* pep-550: Reorder Generators and Coroutines sections; drop await/ceval

* pep-550: Some rewording in the HAMT Performance section

* pep-550: Add a couple of paragraphs to Approach 3

* pep-550: Add version 3 summary of changes

* pep-550: A few more edits

* pep-550: Update the Version History section
2017-08-18 16:23:50 -04:00
Yury Selivanov e3aa3b2b4e pep-550: Couple of small fixes (#349)
* pep-550: Fix typo

* pep-550: Use a better mail archive link
2017-08-16 09:21:25 -04:00
Yury Selivanov 7a3116172f pep-550: Add Version History section (#348) 2017-08-15 23:43:46 -04:00
Yury Selivanov 5207a074cf pep-550: Add a note why HAMT is better than dict.copy() (#347)
* pep-550: Add a note why HAMT is better than dict.copy()

* pep-550: Drop now unused images
2017-08-15 23:27:54 -04:00
Yury Selivanov f67bb4e465 pep-550: Add a return (#346)
* pep-550: Add a return

* pep-550: Clarify that ContextItem.get() cache uses a borrowed ref
2017-08-15 21:00:59 -04:00
Yury Selivanov 46e3edcbb0 pep-550: A couple of minor additions to the impl strategy section (#345) 2017-08-15 19:42:56 -04:00
Yury Selivanov 09c05c8740 pep-550: Full rewrite: v2. (#344) 2017-08-15 19:32:04 -04:00
Yury Selivanov e8a06c9a79 pep-550: Fix PEP 521 example. (#337) 2017-08-12 01:36:43 -04:00
Yury Selivanov fd0f25e2dc pep-550: Fix typos (#336) 2017-08-12 00:17:03 -04:00
Yury Selivanov c46c5a33fb pep-550: Clarify ExecutionContext.run() (#335) 2017-08-11 22:16:34 -04:00
Yury Selivanov f90860ed1a pep-550: Make images wider; fix typo in functions.png (#334) 2017-08-11 19:55:09 -04:00
Yury Selivanov cc0823979c pep-550: Drop context isolation for now (#333) 2017-08-11 19:48:12 -04:00
Yury Selivanov 3c5f66da61 pep550: Move pics one level up to show up on Python.org (#332) 2017-08-11 19:29:03 -04:00
Yury Selivanov 1e260e7a1e pep-550: Add a section about context isolation (#331) 2017-08-11 19:13:45 -04:00
Yury Selivanov f7c4d9603e pep-550: Fix typos (#330) 2017-08-11 18:38:55 -04:00
Yury Selivanov b96cdf5fbb Add PEP 550: Execution Context (#329) 2017-08-11 18:03:58 -04:00