Commit Graph

9989 Commits

Author SHA1 Message Date
Donald Stufft ae5e83c272
PEP 1/PEP 12: Update PEP number assignment guidance (#3163)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-06-07 17:45:16 -07:00
Donald Stufft c34ef63d8c
PEP 708: Allow tracking multiple repositories and rewording (#3162) 2023-06-06 23:42:41 -04:00
Donald Stufft ad65af97bf
PEP 714: Rename dist-info-metadata in the Simple API (#3160) 2023-06-06 20:44:54 -04:00
Ned Deily 7a7df0138e
PEP 537: 3.7.17 release (#3159) 2023-06-06 13:14:58 -04:00
Maik Riechert d6287c5fc1
PEP 659: Correct minor grammar mistakes (#2857)
PEP 659: correct minor grammar mistakes

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-06-06 14:40:16 +02:00
Hugo van Kemenade ef64ec3cbe
Infra: improve text readability and webpage performance (#3132)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-05-31 11:10:38 +02:00
Hugo van Kemenade 47ff287350
PEP 693: delay 3.12 beta 2 by a week (#3157) 2023-05-31 11:06:54 +02:00
James Hilton-Balfe b9bbe0e4d6
PEP 696: Add note about lazy eval with PEP 695 (#3145) 2023-05-28 15:47:52 -07:00
Victor Stinner 15f8e2810b
PEP 594: Set Status to Final (#3156) 2023-05-26 15:34:43 -07:00
Pablo Galindo Salgado 0a6dd6794e
PEP 701: Correct indentation in the rejected ideas section (#3155) 2023-05-25 16:18:01 +01:00
T. Wouters b9140bed84
PEP 693: note release of beta 1 and delay beta 2 by a day (#3153)
Update PEP 693 with the actual date of 3.12 beta 1, and delay beta 2 by a day to not conflict with Memorial Day and Pentecost.
2023-05-23 12:47:01 +02:00
Pablo Galindo Salgado 295769391a
PEP 701: Correct handling of format specifiers and nested expressions (#3151) 2023-05-22 13:29:47 +01:00
Pablo Galindo Salgado 69b9d2b3d3
PEP 701: Add Marta to the list of authors (#3150) 2023-05-21 01:12:38 +01:00
Hugo van Kemenade 9d6e5b653f
Replace deprecated ``datetime`` functions (#3148)
From Python 3.12, datetime.datetime.utcnow and
datetime.datetime.utcfromtimestamp emit deprecation warnings.
2023-05-18 01:45:51 +01:00
Hugo van Kemenade 87b4a4c392
PEP 710: Fix RFC 2119 reference (#3147) 2023-05-17 13:17:24 +01:00
larryhastings a111ec493b
PEP 649: Improve description of semantics and mark as accepted (#3138)
* Improve PEP 649's description of its semantics.

* Stipulate that name resolution for annotations
  under 649 must be *identical* to stock semantics.
* *Don't* specify exactly the mechanism that conformant
  implementations must use to implement 649.  Instead,
  *do* describe how CPython might do it, but leave the
  actual details of how to implement 649 up to each
  language implementation.
* Incorporate Jelle's suggestion that the formats for
  inspect.get_annotations() be in an enum.IntEnum.

* Fix lint.

* PEP 693: Postpone 3.12.0b1 by two weeks (#3139)

* PEP 695: Lazy evaluation, concrete scoping semantics, other changes (#3122)

- Lazy evaluation means that referencing a later type variable works at runtime
- Disallow walrus in TypeVar bounds, and also disallow yield/yield from/await
  in the same contexts
- Remove rejection of lambda lifting; that is the implementation we are using now
- Change the AST
- Change of direction on mangling
- More precise scoping rules

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>

* Incorporate changes from feedback, mark Accepted.

* Fix PEP 12 header *order compliance*.  Wow.

* Fix Sphinx complaints.

* Make enum consistent, flesh out observed semantics.

* Add "Resolution" header, as pointed out by Hugo.

* Switch to other URL for Resolution header.

* Apply ``global_enum`` to ``inspect.AnnotationFormat``

* Final? text / semantics cleanup pass.

* "accept" -> "accepts".  Bettering my Englishes.

* Add new "post history" reflecting the updates.

* Update post history with all conversations, courtesy CAM!

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

* Fix typo.  Thanks, Emily!

Co-authored-by: Emily Morehouse <emilyemorehouse@gmail.com>

* Add "Discussions-To" header.  Thanks, CAM!

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>

* Attempt to satisfy "validate-post-history" hook.

---------

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Emily Morehouse <emilyemorehouse@gmail.com>
2023-05-15 21:07:22 -07:00
Hugo van Kemenade 85db95ab82
PEP 569, 596, 619, 664, 693: Fix days for release dates (#3136) 2023-05-14 20:19:56 +03:00
Sam Gross cf1649c9d2
PEP 703: Minor edits (#3143) 2023-05-11 20:11:40 +02:00
Petr Viktorin 90640f47b7
PEP 697: Mark Final (GH-3141) 2023-05-10 17:38:04 +02:00
Petr Viktorin a9a2a4f439
PEP 706: Add changes found in review, Mark Final (GH-3134) 2023-05-10 12:54:39 +02:00
Carl Meyer 53fed993a6
PEP 709: mark as accepted (#3140) 2023-05-09 13:37:22 +03:00
Petr Viktorin 254925bed6
PEP 689: Tweak a policy, add canonical-doc and Mark as Final (GH-3123) 2023-05-09 09:44:32 +00:00
Jelle Zijlstra 5cea9b5d29
PEP 695: Lazy evaluation, concrete scoping semantics, other changes (#3122)
- Lazy evaluation means that referencing a later type variable works at runtime
- Disallow walrus in TypeVar bounds, and also disallow yield/yield from/await
  in the same contexts
- Remove rejection of lambda lifting; that is the implementation we are using now
- Change the AST
- Change of direction on mangling
- More precise scoping rules

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2023-05-08 11:21:04 -07:00
Hugo van Kemenade e1c692eb31
PEP 693: Postpone 3.12.0b1 by two weeks (#3139) 2023-05-08 14:55:27 +02:00
Sam Gross 5dfac740c0
PEP 703: Update Post-History (#3137) 2023-05-04 11:54:52 -07:00
Sam Gross c974cbde13
PEP 703: Update with results from nogil 3.12 rebase (#3126)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-05-04 18:00:54 +01:00
Marc Mueller c10a1165af
PEP 696: Use list for ParamSpec default [Fix] (#3133) 2023-05-02 06:35:41 -07:00
Oleg Iarygin b9ca714a43
Lint: Fix outstanding codespell spelling errors (#3129)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: wookie184 <wookie1840@gmail.com>
2023-05-01 13:00:36 -06:00
Amethyst Reese 982e193c54
PEP 713: Add link to reference implementation (#3130)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-04-30 11:08:25 -06:00
CAESIUS_TIM 5db5213b9f
PEP 8: Clarify variable name in slice (#3128) 2023-04-30 07:23:54 -07:00
chaojie 6eb6167770
Infra: Make the sticky banner opaque for better readability (#3075)
Make the stick banner opaque for better readability
2023-04-28 12:31:40 -05:00
Adam Turner 63a594ff38
PEP 649: Fix literal block syntax (#3125) 2023-04-26 00:14:44 +01:00
larryhastings b49ab691d8
Fixes to PEP 649 based on feedback. (#3124)
* Move the "Mistaken rejection" section up to Overview.
* Stipulate that the exact value of strings returned by SOURCE
  format may change in the future.
* Disallow walrus and generator operators in annotation expressions.
2023-04-25 15:14:54 -07:00
Amethyst Reese 70532f8abf
PEP 713: add discussion link (#3121) 2023-04-23 14:55:21 -07:00
Joshua Cannon 04dce495d5
PEP 712: Adding discussion links (#3120) 2023-04-23 13:24:27 -07:00
Amethyst Reese fc60c98e22
PEP 713: Callable Modules (#3117)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-04-23 23:09:14 +03:00
Carl Meyer 8c61071df1
PEP 649: distinguish annotations requested as strings vs objects (#3118) 2023-04-22 22:51:09 -07:00
Carl Meyer 076f44117a
PEP 649: typo fixes and minor clarifications (#3113)
* PEP 649: typo fixes and minor clarifications

* review comments
2023-04-22 22:50:38 -07:00
Joshua Cannon 468f3ed4eb
PEP 712: Adding a "converter" parameter to dataclasses.field (#3095)
Co-authored-by: Erik De Bonte <erikd@microsoft.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-04-22 17:11:31 -07:00
Adam Turner 87959f5364
PEP 664: Update with final release date for 3.11.3 (#3115) 2023-04-22 08:04:24 +02:00
Adam Turner 17f1ffde6f
PEP 619: Update with final release date for 3.10.11 (#3116) 2023-04-22 08:04:08 +02:00
Mariusz Felisiak 26450d396a
PEP 693: Update release date for 3.12.0a7 (#3114)
See https://www.python.org/downloads/release/python-3120a7/

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-04-21 16:11:23 +01:00
Hugo van Kemenade aea1fd51ef
PEP 649: fix and improve formatting
* PEP 649: fix backticks

* PEP 649: fix typos

* PEP 649: update formatting

* PEP 649: update formatting

* PEP 649: remove redundant emacs metadata

* PEP 649: use more roles
2023-04-19 13:33:23 -07:00
Pradyun Gedam 30e586693c
PEP 704: Add a missing word in PEP withdrawal notice (#3111) 2023-04-19 14:25:07 -06:00
larryhastings f223b5bd71
Update PEP 649 with a major revision. (#3106)
Update PEP 649 with a major revision.
2023-04-19 11:35:03 -07:00
Irit Katriel cd7decdffa
PEP 707: Mark as rejected (#3098) 2023-04-13 14:04:24 +01:00
Jelle Zijlstra 3964463146
PEP 695: Mark as accepted (#3103) 2023-04-12 20:57:03 -07:00
Petr Viktorin af6009befd
PEP 697: Mark as Accepted (#3101) 2023-04-11 19:36:37 -05:00
Mark Shannon b07d65789d
PEP 669: Update to reflect latest additions. (#3100)
Update PEP 669 to reflect latest additions.
2023-04-11 16:40:41 +01:00
Joshua Cannon 086d2a89b7
PEP 697: Fix typo (#3099) 2023-04-11 17:38:45 +03:00