Commit Graph

11 Commits

Author SHA1 Message Date
Stefano Borini 23b9fffb1f
PEP 637: Addnew slots to the C interface (#1750) 2020-12-28 09:38:34 -08:00
Stefano Borini 831e7256d5
PEP 637: Allow empty starred arguments (GH-1744)
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
2020-12-23 10:43:35 -08:00
Stefano Borini fc43230308
PEP 637: Feedback and various typo fixes (GH-1741) 2020-12-23 10:05:12 -08:00
Matthias Urlichs fd725e327f
PEP 637: Add another rationale, and more (#1615)
* Add another rationale for this syntax

* Add missing escapes

* Improve wording as per comment from @stevendaprano

* added another sentence to clarify what `trio.run` actually does
2020-10-19 07:30:08 -07:00
Stefano Borini 88eb5a08a1
PEP 637 I've asked Jonathan Fine to resign as PEP author, and he's agreed to do so. Details in the pull request. (#1650) 2020-10-12 11:31:49 -07:00
Gerrit Holl fd1fbe7329
PEP637 setter notation getitem -> setitem (#1640)
In PEP-0637, in the example discussing setter notation, change the example from `__getitem__` to `__setitem__`, as the former appears to be a mistake in this context.
2020-10-07 02:19:55 +11:00
Stefano Borini 43834b1add
PEP 637: Default sentinel value for no value passed as index (#1626)
* PEP 637: more rationale for function call not being an option

* PEP 637 Commentary on the choice of tuple as sentinel when no index is specified

* Finalised explanation of rationale behind the empty tuple

* Clarified the proposed default hack

* Clarified asymmetry to functions

* Added review comments
2020-09-28 13:13:20 -07:00
Stefano Borini fd40249e4e
PEP 637 allow for unpacking of starargs (#1622) 2020-09-26 16:37:32 -07:00
Stefano Borini a5b59d6dca
PEP 637: Integrate feedback from GvR (#1620) 2020-09-26 13:32:35 -07:00
Stefano Borini ed5f3b191f
PEP 637: Removed Ellipsis rule -- '...' is just an expression already (#1623) 2020-09-26 09:38:24 -07:00
Stefano Borini 8e16d32598
PEP 637: Renamed file to rst and changed formatting of block code (#1619) 2020-09-25 17:00:29 -07:00