Commit Graph

10080 Commits

Author SHA1 Message Date
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
Eric Snow e756038ec3
PEP 684: Mark as Accepted (#3097) 2023-04-10 11:48:32 -06:00
Eric Snow 753252d2e8
PEP 554: Bump to 3.13 (#3096) 2023-04-10 10:32:03 -06:00
Roman Solomatin 9fa2dd938b
Meta: Change make render to make html in docs (#3094) 2023-04-09 10:43:55 +03:00
Roman Solomatin 67712e46d8
Infra: Fix topics links from pep-0000 (#3093) 2023-04-08 17:36:57 -05:00
Jelle Zijlstra d5bbcb9764
PEP 702: Final tweaks (#3092)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-04-08 06:52:51 -07:00
Łukasz Langa c607a47b45
PEP 101: Add information on Sigstore (#3085)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-04-07 23:27:47 +02:00
Nathaniel J. Smith 2ad19ddeb0
PEP 711: fill in discussion links (#3091)
PEP 711: Fill in Discussions-To/Post-History
2023-04-07 00:46:47 -07:00
Nathaniel J. Smith c9f29a8d42
PEP 711: PyBI: a standard format for distributing Python Binaries (#3090)
* Add PEP 711 (PyBI format)

* pygments doesn't understand csv

* remove some lints

* Doh, fix filename
2023-04-07 00:30:10 -07:00
Hugo van Kemenade 3f4e0209e3
PEP 582: Mark as rejected (#3078)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-04-06 10:26:37 -07:00