Commit Graph

9245 Commits

Author SHA1 Message Date
Victor Stinner 8388db260f
PEP 674: Address Tim Felgentreff's review (#2249) 2022-01-19 11:22:37 +01:00
Steven Troxler 4a3a9932cb
PEP 677: Runtime Behavior Specification (#2237)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-01-18 10:34:53 -08:00
Victor Stinner 82b633e160 PEP 674: Add Discussion section
Fix the creation date (use the date of the python-dev email).
2022-01-18 08:54:51 +01:00
Victor Stinner 6c4dd8ae81
PEP 674: Relationship with the HPy project (#2247) 2022-01-18 08:50:48 +01:00
Brett Cannon 4b595275e3 PEP 665: clarify that pip needs `--require-hashes` 2022-01-17 16:38:33 -08:00
Tushar Sadhwani 9c8b47c102
Fix function signatures in PEP 677 (#2243)
The `flat_map` function is passing the function first in its calls, so the definition should reflect the same.
2022-01-17 09:43:14 -08:00
Mark Shannon d927d9d4a6
Update PEP 669 specification to return current callback object when registering a new callback. (#2246) 2022-01-17 16:22:49 +00:00
Pablo Galindo 23bdcb5db3
PEP 664: Update date for Python3.11.0a4 2022-01-17 14:49:32 +00:00
Pablo Galindo 01b3bb11e8
PEP 619: Update bugfix release dates 2022-01-17 14:48:33 +00:00
Éric c5f4d78b56
PEP 8: update text about backlash (#2244) 2022-01-16 21:44:11 -08:00
Adam Turner d58d084caf
Add pep_sphinx_extensions/LICENCE.rst to exclude_patterns (#2245) 2022-01-16 15:18:14 -08:00
Adam Turner 50e5de2d28
PEP 676: 'dark mode', documentation, spec update, implementation update (#2239)
Co-authored-by: C.A.M. Gerlach <cam.gerlach@gerlach.cam>
2022-01-16 14:33:05 -08:00
Jelle Zijlstra e4a6c82c01
PEP 673: minor fixes to the code samples (#2242)
- Use `...` instead of a unicode ellipsis
- Fix dataclass definition with defaulted before non-defaulted field
2022-01-15 06:09:30 -08:00
Łukasz Langa f5a820919a
[pep-0596] Actual date of 3.9.10, adjust 3.9.11 and 3.9.12 2022-01-14 23:33:58 +01:00
lukpueh c657731bba
PEP 458: update references to python-tuf repo (#2240)
In preparation for the 1.0.0** release of the TUF reference
implementation `python-tuf` documentation referenced in this PEP is
being moved. This patch updates the corresponding links in the PEP.

** See 059bfda391/docs/1.0.0-ANNOUNCEMENT.md

More specifically, the following link changes are performed:

- METADATA.md
  to: metadata format section in TUF spec
  Note: alternatively this could link to the new location of
  METADATA.md (see theupdateframework/python-tuf#1769), but the spec
  seems like a better resource

- TUTORIAL.md#repo-management
  to: new metadata API doc on readthedocs and new repo
  example/tutorial

- TUTORIAL.md#lazy-bin-walk
  to: new hashed bin delegation example/tutorial

- client implementation
  to: new client doc on readthedocs

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
2022-01-14 13:14:13 -08:00
Matthew Rahtz 5cf65cf312
PEP 646: Clarify indexing assignment (#2241) 2022-01-14 09:26:06 -08:00
Mario Corchero 961bdece5e
Mark PEP648 are rejected (#2235) 2022-01-13 12:46:41 -08:00
Steven Troxler bb0bf67c26
PEP 677: fix typo in example (#2236) 2022-01-13 07:22:30 -08:00
CAM Gerlach 8513edec8d
PEP 680: Format rst/PEP and copyedit for grammar, clarity & phrasing (#2233)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com>
2022-01-13 06:25:58 -08:00
Nipunn Koorapati 3ec824affd
PEP 613: Loosen class scope restriction of explicit TypeAlias (#2154)
Per discussion on typing-sig
https://mail.python.org/archives/list/typing-sig@python.org/thread/CGOO7GPPECGMLFDUDXSSXTRADI4BXYCS/

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-01-12 13:28:17 -08:00
Pradeep Kumar 4d55ea96be
PEP 673: Add Post-History. (#2232) 2022-01-12 13:07:51 -08:00
Pradeep Kumar 36ed9512e9
PEP 673: Mention user requests for the feature. (#2231) 2022-01-12 12:28:09 -08:00
Steven Troxler 38c78b0db4
PEP 667: Format the flat_map example consistently (#2230) 2022-01-12 11:20:28 -08:00
Shantanu 6714cfed8a
PEP 680: link discuss post, minor edits (#2226)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-01-12 11:57:51 +01:00
CAM Gerlach 57c9a36dca
Fix refs section removal breaking external links on Sphinx build too (#2229) 2022-01-11 18:37:31 -08:00
CAM Gerlach c33b7248c1
Set low priority for rm-ing refs section so refs still resolve correctly (#2227) 2022-01-11 16:45:43 -08:00
Brett Cannon 88c14e061d Reject PEP 665 2022-01-11 16:39:08 -08:00
Steven Troxler 218e2ccaec
PEP 677: Minor wording and formatting fixes. (#2225)
We're getting ready for a final request for comments to python-dev,
so I did one more pass through the PEP to catch remaining readability
issues (I was especially looking for things easier to see on the actual
PEP page with formatting than the rst doc):
- found an incorrectly formatted hyperlink
- changed some sentences with ambiguous pronouns
- broke up a couple of sentences that seemed too long
- tweaked a few places where the wording was okay but nonstandard
2022-01-11 10:18:50 -08:00
Steven Troxler 4a0c9779de
PEP 677: Add Discussions-To and Post-History headers (#2224)
* Add Discussions-To and Post-History headers

* Change Discussions-To to python-dev
2022-01-10 22:27:58 -08:00
Steven Troxler 5cb9636c4c
PEP 677: Include more rejected alternatives (#2219)
* Add more rejected alternatives

- Rust-style syntax
- Forced outer parentheses
- Improving readability of existing callable type

* Add discussion of alternative | precedence

* Add blank lines for bullet lists

* Fixes based on initial review

* More tweaks from review

* More updates based on review
2022-01-10 21:46:13 -08:00
Taneli Hukkinen 79c2ad8b9f
PEP 680: Address merwok's review (#2223) 2022-01-10 16:45:09 -08:00
Shantanu 5056f2a964
PEP 680: "tomllib" Support for parsing TOML in the Standard Library (#2218)
Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2022-01-10 12:55:30 -08:00
Jelle Zijlstra 8b9859a142
Copyedits to PEP 679 (#2222)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-01-10 12:28:07 +00:00
Pablo Galindo Salgado 29ca7d7cd2
PEP 679: Change the discussions link (GH-2221) 2022-01-10 00:22:53 +00:00
Pablo Galindo Salgado 7de72523c9
PEP 679: Allow parentheses in assert statements (GH-2220) 2022-01-09 23:40:59 +00:00
Adam Turner 3d60b84e35
PEP 676: Implementation updates (#2208) 2022-01-09 10:07:03 -08:00
Adam Turner 19684a0787
PEP 676: Formatting and prose updates (#2207)
Co-authored-by: C.A.M. Gerlach <cam.gerlach@gerlach.cam>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-01-09 18:13:23 +02:00
Steven Troxler 557696d143
PEP 677: Use PEP 646 syntax when discussing unpack (#2216)
I'd intended to fix this based on feedback in an earlier PR, but missed it.
2022-01-07 21:34:32 -08:00
Gregory P. Smith 400d46e8c7
Ungender the volunteer pronoun in PEP-11. (#2214) 2022-01-05 23:28:10 -08:00
Nikita Sobolev efec849b43
Delete CODE_OF_CONDUCT.md (#2213) 2022-01-05 09:42:42 -08:00
Shantanu ace871d870
Various PEPs: fix typos (GH-2211)
Co-authored-by: hauntsaninja <>
2022-01-03 21:01:23 -08:00
Petr Viktorin 989a70412d
PEP 646: Fix code markup (#2210)
A code block was formatted as a quotation by mistake.
2022-01-03 08:22:47 -08:00
Ned Deily 58b93bdfdb
PEP 494: move 3.6 to end-of-life status. 2021-12-31 20:55:18 -05:00
Irit Katriel f2f542d544
PEP-654: clarify that BaseExceptionGroup is the factory function that… (GH-2203) 2021-12-27 21:51:08 +00:00
Anatoli Babenia b07248305b
440: Extend example to clarify 1.dev0 < 1.0.15 (#2108)
>>> from packaging.version import Version
    >>> Version("1.dev0") > Version("1.0.15")
    False
2021-12-23 16:24:41 +10:00
Nick Coghlan cb8b62e1d0
PEP 558: remove lingering mentions of the 'view' API (#2204) 2021-12-23 13:04:55 +10:00
Nick Coghlan dedc9d250e
PEP 558: Adopt Python level semantics from PEP 667 (#2124)
* fast locals proxy never assumes the value cache is already up to date
* operations become O(n) as required to avoid that assumption
* remove `*View()` APIs from proposal due to algorithmic complexity issue
* add Python pseudo-code to the PEP 667 comparison section
* reword PEP 667 comparison section to focus on the remaining differences
  in the C API proposal
2021-12-23 09:25:51 +10:00
Brett Cannon 107361803d PEP 665: link to a locker PoC 2021-12-22 11:13:35 -08:00
Zac Hatfield-Dodds 8c43285a06
PEP 678: Enriching Exceptions with Notes (#2201)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-12-22 08:13:01 -08:00
Brett Cannon 886624a3a5 PEP 665: fix reST error 2021-12-21 11:56:18 -08:00