Commit Graph

9348 Commits

Author SHA1 Message Date
Irit Katriel 4e06e44f8d
PEP-654: add number of sub-exceptions to BaseException.__str__ (GH-2356) 2022-02-22 18:30:27 +00:00
Petr Viktorin d7224f2a2d
PEP 680: Mark as accepted (#2357) 2022-02-22 06:41:53 -08:00
Victor Stinner 1ded0f1ecf PEP 670: Post History 2022-02-22 13:42:29 +01:00
Victor Stinner 43028f180d PEP 670: Complete History 2022-02-22 13:37:51 +01:00
Victor Stinner 42e921ef44
PEP 670: clarify cast; don't change return type (GH-2349)
* Clarify how arguments are cast
* Limited C API version 3.11 no longer casts pointer arguments
* No longer remove return values
* Require to not change the return type
* Don't change macros having multiple return types
2022-02-22 13:17:42 +01:00
CAM Gerlach de8ca55bd6
PEP 0: Don't add title for empty references section (#2353) 2022-02-22 00:20:11 +00:00
CAM Gerlach 6064e225d5
Add instructions for running lint and spellcheck tools locally (#2338) 2022-02-22 00:03:58 +00:00
CAM Gerlach 185aedc4ce
PEP 675: Add link to official discussion thread (#2333) 2022-02-21 23:49:13 +00:00
CAM Gerlach f8717b6055
PEP 655: Add Discussions-To link to the `typing-sig` thread (#2344) 2022-02-21 23:47:19 +00:00
Petr Viktorin d54740c33b
PEP 683: Fix some typos (#2348) 2022-02-21 14:46:18 -07:00
Adam Turner 7efe7fb433
PEP 676: Display mailing list names for thread links in Discussions-To (#2351) 2022-02-21 21:04:55 +00:00
CAM Gerlach 2ff27508fa
PEP 1: Update outdated language referring to Travis CI and plain-text PEPs (#2347)
* PEP 1: Update outdated language referring to Travis CI

* Further revise PEP 1 CI wording based on reviewer suggestions
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-02-21 12:58:30 -06:00
Irit Katriel 0cac70c4d0
PEP 654: Fix the output of two examples (#2345) 2022-02-21 03:20:37 +00:00
Zac Hatfield-Dodds 501cb5cb45
PEP 678: Update proposal with `.add_note()` and acknowledgements section (#2331)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-02-20 15:42:36 -08:00
Pradyun Gedam 674eb7004d
PEP 668: Change title to better summarise the content (#2339)
This does a better job of communicating what this PEP is about.
2022-02-20 10:50:07 -06:00
David Foster a7788dba3e
PEP 655: Highlight TypeScript code snippet correctly (#2343) 2022-02-19 22:25:43 +00:00
Eric Snow 569a359368
[PEP 683] Immortal objects v2 (#2341)
These are extensive changes in response to the python-dev thread. [1]

[1] https://mail.python.org/archives/list/python-dev@python.org/thread/TPLEYDCXFQ4AMTW6F6OQFINSIFYBRFCR/#EPH3PGNKUBUZK26Z2M4SQSPUVIGXZUNB
2022-02-19 00:43:07 -07:00
CAM Gerlach 86caca3dcb
PEP 594: Update Discussions-To and Post-History (#2335) 2022-02-19 03:14:02 +00:00
CAM Gerlach 8e33abd30f
PEP 12: Recommend reST hyperlinks over footnotes (#2302) 2022-02-17 17:26:37 +00:00
Brian Skinn fc3eb216e3
PEP 594: Apply typofixes & language tweaks (#2334)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-02-16 14:22:28 -08:00
Pradeep Kumar f7bba0160b
PEP 675: use semicolon instead of comma (#2330) 2022-02-15 19:20:15 -08:00
Pradeep Kumar 49ec965e65
PEP 675: fix wording in a couple of places (#2326)
+ Add newlines to make code samples easier to read.
+ s/argument/parameter/.
2022-02-15 17:08:01 -08:00
Eric Snow 918f3dfc9f
[PEP-683] Update after posting. (gh-2329) 2022-02-15 17:29:37 -07:00
John Belmonte 62eede8d27
PEP 682: clarify specification (#2327) 2022-02-16 00:00:42 +00:00
Eric Snow 4ba57570ad
PEP 683: Add a PEP for immortal objects. (gh-2320) 2022-02-15 16:52:22 -07:00
Pradeep Kumar b57ebdbd81
PEP 675: add "Type" to title and add post history (#2325)
Also adjust the wording of the first line of the Abstract. I changed
"static type annotations" to "type annotations" since the "static" part
is redundant.
2022-02-15 12:40:49 -08:00
David Foster 53d8f247ca
PEP 655: Integrate feedback from S Pradeep Kumar (#2323) 2022-02-15 03:26:57 +00:00
Petr Viktorin ba2a9295dd
PEP 675; Establish typing context in the Abstract (#2324) 2022-02-15 01:14:45 +00:00
Petr Viktorin bdc0e44c67
PEP 630: add disclaimers re. heap types & conversion, add PyType_GetModuleByDef (GH-2319)
* PEP 630: add disclaimers re. heap types & conversion, and PyType_GetModuleByDef

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-02-14 16:30:46 +01:00
John Belmonte 88c65146e7
PEP 682: small additions (#2322)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-02-14 15:42:32 +02:00
Jelle Zijlstra cc5c674b51
PEP 677 was rejected (#2321) 2022-02-12 01:42:11 +00:00
John Belmonte a89d703d63
PEP 682: Discussions-To and minor fixes (#2317)
* fill in Discussions-To

* fix future references in Rationale

* Remove "code-block:: pycon", since it applies a proportional
font to '>>>' and '...', which looks odd and misaligns indents.

* grammar fix
2022-02-10 16:04:26 -08:00
Victor Stinner c0fc47a05f
PEP 7: prefer static inline functions (#2315) 2022-02-08 18:45:40 +01:00
Victor Stinner 1ef98b333a
PEP 682: Fix pre-commit issue with backticks (#2316) 2022-02-08 18:43:30 +01:00
John Belmonte 6d66078352
PEP 682: Format Specifier for Signed Zero (#2295)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-02-08 17:19:39 +00:00
Zac Hatfield-Dodds f2c28db177
PEP 678: convert footnotes to inline links and hard wrap to 79 cols (#2314) 2022-02-08 17:13:36 +00:00
Pradeep Kumar 389e8bd43e
PEP 675: nest sections under Specification (#2313)
They were top-level sections.

I also moved up the Runtime Behavior section to answer the question of
where LiteralString lives, since right now it's buried in the PEP.
2022-02-07 17:14:26 -08:00
Victor Stinner 599e2aeef5
PEP 674: Clarify Statistics (#2311) 2022-02-08 02:03:50 +01:00
CAM Gerlach 581f2926e9
PEP 594: Remove old lib2to3 keep table entry and fix RST syntax issues (#2305)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-02-07 16:50:53 -08:00
Colin Watson ddeb1d867f
PEP 594: mention how to replace (Mini)FieldStorage (#2306) 2022-02-07 16:50:09 -08:00
Brett Cannon c3baa73263 PEP 594: remove binhex as it's already gone 2022-02-07 16:42:50 -08:00
Petr Viktorin 55bd3c2bc1
PEP 594: Fix link & a capitalized word (#2310) 2022-02-07 21:30:56 +02:00
Dominic Davis-Foster 37a8edec2f
PEP 517: Remove "Provisional acceptance" section now the PEP is Final (#2312) 2022-02-07 16:27:50 +00:00
Victor Stinner e945677364 PEP 674: Address Petr's review 2022-02-07 16:12:42 +01:00
Brett Cannon a46be770e5
PEP 594: provide examples of how to replace the relevant parts of `cgi` (#2304) 2022-02-04 15:46:03 -08:00
Dominic Davis-Foster 40e4694084
PEP 664: Mark Python 3.11.0 alpha 5 as released (#2303) 2022-02-04 12:21:52 +00:00
CAM Gerlach 670de668d4
PEP 639: Clarify License-File field, slim down terminology & remove future PEPs (#2298)
* PEP 639: Remove speculative future PEPs section and cut down terminology

* PEP 639: Clarify intended role of License-File field in other formats

* PEP 639: Move User Scenarios to an appendix and de-number

* PEP 639: Apply suggestions from Adam's reivew and other refinements
2022-02-03 17:16:44 -06:00
Taneli Hukkinen cd4d4bbf57
PEP 680: Fix link (#2301) 2022-02-03 17:15:09 -06:00
Zac Hatfield-Dodds 6d1703cbe4
PEP 678: add post-history, minor tweaks following discussion (#2294) 2022-02-03 10:37:16 +00:00
CAM Gerlach 73fbc86311
Fix pre-commit-config filename in codeowners and re-sort (#2299) 2022-02-02 23:42:58 -06:00