Commit Graph

9799 Commits

Author SHA1 Message Date
Victor Stinner 5876867985
PEP 620: Rejected (#2922) 2022-12-13 16:38:41 +01:00
Victor Stinner 77018a2d5c
PEP 674: Deferred (#2921) 2022-12-13 16:35:25 +01:00
Brett Cannon e59744921b
PEP 691: Fix JSON example to be valid 2022-12-11 14:17:27 -08:00
Hugo van Kemenade 4a71d8757d
PEP 101: Remove reference to Zulip (#2918) 2022-12-07 16:56:14 -08:00
Jelle Zijlstra a73c0e9750
PEP 692: Add changing the meaning of `**kwargs` annotations to rejected ideas (#2916) 2022-12-07 11:49:09 -08:00
T. Wouters 53cdf55b7d
PEP 693: Update with the release date for 3.12.0a3 (#2914)
Update with the release date for 3.12.0a3.
2022-12-07 00:29:45 +01:00
Łukasz Langa 8ee1310b89
[pep-0569][pep-0596] Actual dates for 3.8.16 and 3.9.16 2022-12-06 23:52:00 +01:00
Pablo Galindo Salgado 191acabdb9
Update 3.11.1 and 3.10.9 release dates (#2915) 2022-12-06 22:38:52 +00:00
Ned Deily 1a43741bdf
3.7.15 (#2913) 2022-12-06 21:37:18 +00:00
Ken Jin 1a87312fb3
PEP 699: Make the spelling consistent (#2911) 2022-12-04 14:52:15 +08:00
Václav Brožík 94287a9288
PEP 485: Fix relative difference formula (#2909)
* PEP 485: Fix relative difference formula

The formula did not work correctly for negative (a+b) values.

* PEP 485: Fix grammatical typo

Grammatical typo close to the formula typo.
2022-12-03 13:59:14 -06:00
Pablo Galindo Salgado 242eb5f2fe
PEP 701: Syntactic formalization of f-strings (#2907)
Co-authored-by: Batuhan Taskaya isidentical@gmail.com
Co-authored-by: Lysandros Nikolaou lisandrosnik@gmail.com
2022-12-02 20:52:35 +00:00
Petr Viktorin fa143fa994
PEP 697: Changes based on initial implementation & docs (GH-2906)
* PEP 697: Changes based on initial implementation & docs

- Use a flag, `Py_TPFLAGS_ITEMS_AT_END`, rather than a slot. This way the subclass doesn't need to worry about items (if the superclass is set up right).
- The result of `PyObject_GetTypeDataSize` may be higher than requested by -basicsize (e.g. due to alignment). It is safe to use all of it (e.g. with memset).
- Mention that `basicsize == 0` and `itemsize == 0` already work. I’ll add explicit docs & tests though.
- Add link to initial implementation
- Add endorsements
- Add a “big picture” decision tree
- Rewording
- Mention possible flags for alternative item layouts

* Apply suggestions from code review

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-12-01 16:55:12 +01:00
Ee Durbin 1497f51408
PEP 8104: Final voter roll (#2908) 2022-11-30 09:28:50 -05:00
Ee Durbin 02d07ca846
PEP 8104: Nominations and Voter Roll (#2905) 2022-11-29 09:29:27 -05:00
Hugo van Kemenade 67512a10ea
Infra: Link status and type headers to descriptions (#2842)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-11-29 11:48:51 +02:00
Petr Viktorin 580f8e3c70
PEP 689: Updates from discussion & initial implementation (GH-2901)
The prefix is very visible, so:
- No opt-in macro
- No new Include/ subdirectory

Removed frame evaluation API: I haven't found a way to use it,
so I can't test it.

Mention that unstable API should be documented and tested.

Add link to rough reference implementation.
2022-11-28 15:27:37 +01:00
Ee Durbin 9d19f3952f
PEP-8104: Correct links for nomination/vote deadlines (#2903) 2022-11-28 14:20:14 +00:00
Matthew Rahtz 2ae3b71e21
PEP 646: Add section on type substitution in generic aliases (#2883)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-11-26 19:56:00 -08:00
C.A.M. Gerlach bc79b092c7
Meta: Update Contrib Guide & PR template for new CLA bot (#2900) 2022-11-25 15:07:16 -08:00
Victor Stinner 35dd6a15b3
Update PEP 674 (#2899)
* Set Python version to 3.12
* Update stats on top 5000 PyPI projects
* Complete Post History
2022-11-23 01:33:29 +01:00
Steven Troxler 6a72444a8e
PEP 698: reword "value add" -> "benefits" (#2897)
Maybe I've spent too much time in big-company roadmapping
meetings, I didn't used to accidentally say things like this :D
2022-11-20 17:36:35 -06:00
Steven Troxler d5b28cc9c1
PEP 698: reword the disadvantages section (#2894)
We claimed that there are two disadvantages to overrides:
it makes code more verbose, and requires developers to update
subclasses when possibly-breaking changes happen to base classes.

In discussion, it was pointed out that the second disadvantage is
kind of strange - it is exactly the same as the advantage of
using @override in the first place because the whole point is that
it is not usually safe to assume subclasses can be unchanged when
a method they override is removed from a base class.

I think just pointing out verbosity is good enough, I think it's
understood that more verbose code potentially requires more edits
to change, and in reality I think the case when it was safe to
ignore invalidated overrides is pretty rare so making that a big
focus seems a little weird.
2022-11-20 07:22:50 -08:00
Steven Troxler 337df6bef5
PEP 698: Include discussion of pinning the ancestor class (#2893)
This idea came up in the PEP discussion:
https://discuss.python.org/t/pep-698-a-typing-override-decorator/20839/4

We decided against it, but as promised I am including the idea
and potential upside as well as our rationale for not including
it in the "Rejected Alternatives" section.
2022-11-18 12:04:29 -08:00
tk-woven 686a5a9e21
PEP 698: fix typo enumerating runtime enforcement rejections (#2891) 2022-11-17 17:44:35 -08:00
James Hilton-Balfe 5fd06047be
PEP 484: Add missing def to NewType example function (#2890) 2022-11-16 14:15:09 -08:00
Marc-Andre Lemburg 52f982d0e4
PEP 248: Fix Author and Created date headers (#2889)
* Fix Author and Created date headers of PEP 248.

* Fix date formatting to make linter happy

* Change the Author header to work around missing editor field.

* Use a different way of mentioning the editor characterization

* Remove the "Editor" notice form the Author field.

Add a short blurb explaining the roles in the acks.
2022-11-16 23:11:31 +01:00
Marc-Andre Lemburg 74e6056162
Add optional Connection.autocommit attribute to PEP 249 (#2887)
* Add optional Connection.autocommit attribute as discussed on the DB-SIG ML.

Fix the creation date to point to the announcement date of the
DB-API 2.0.

Add years to the acknowledgements.

Minor editorial changes.

* Fix spelling.

* Fix another spelling mistake.
2022-11-16 19:04:43 +01:00
T. Wouters 86ad9a2aa0
PEP 693: Note the release of 3.12.0a2 (#2886)
Note the release of 3.12.0a2 (dated yesterday because that is when the release branch was cut).
2022-11-15 15:23:07 +01:00
trcmohitmandokhot 557fffd5a1
PEP 3141: Fix typo in Number.Complex.imag() docstring (#2881) 2022-11-14 16:36:29 -08:00
Ee Durbin c1d17d8371
PEP 8104: 2023 Term Steering Council election (#2875)
* PEP 8104 - 2023 Term steering council election

* Update pep-8104.rst

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

* Update pep-8104.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Update pep-8104.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Apply suggestions from code review

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

* settle dates and timezones to AoE

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-11-14 08:36:29 -05:00
Paul Moore 1d417c64bb
PEP 700: Clarify that the new fields are in the project details (gh-2885) 2022-11-13 18:26:58 +00:00
Hugo van Kemenade 5731720068
Infra: Include PEP number in API (#2879)
Fixes https://github.com/python/peps/issues/2878
2022-11-10 08:49:09 +02:00
Brett Cannon 11669a5772
PEP 698: Fix capitalization of "TypeScript" 2022-11-08 15:12:42 -08:00
Eric Snow 7a7b1f6a2e
PEP 683: Mark the PEP as Accepted (gh-2877)
I've also updated the Post-History and Discussions-To headers.
2022-11-08 14:40:44 -07:00
Steven Troxler 848d0908c9
PEP 698: Change the wording for strict mode section (#2874)
At this time, Pyre still does not have strict override enforcement.

This (and supporting codemod tools) are still something we want,
but given that we have not yet delivered this and do not have a firm
ETA we should not make claims about specific plans in the PEP text.
2022-11-07 14:43:56 -08:00
Paul Moore 38192e0ba9
PEP 700: Make upload time optional (gh-2873) 2022-11-07 19:38:37 +00:00
C.A.M. Gerlach 80f41487fe
Meta: Clarify scope of Packaging topic and rm ensurepip PEPs (453/477) (#2826) 2022-11-07 17:57:17 +01:00
Gustav Gränsbo 5e6cef7776
PEP 616: Mark as Final (#2869) 2022-11-06 22:25:50 +00:00
Gustav Gränsbo 4577e0d6b4
PEP 616: Mark as Final (#2869) 2022-11-06 22:25:39 +00:00
Gustav Gränsbo 5025b27498
PEP 585: Mark as Final (#2871) 2022-11-06 22:25:12 +00:00
Gustav Gränsbo a1f1fed495
PEP 572: Mark as Final (#2870) 2022-11-06 22:24:56 +00:00
Yurii Karabas 9f29302037
PEP-695: Fix formatting of code example (#2867) 2022-11-06 07:54:48 -08:00
Jelle Zijlstra 460196dc13
PEP 688: Small tweaks (#2866) 2022-11-06 07:05:25 -08:00
Carl Meyer e5aa080e52
PEP 690: Last(?) round of updates (#2861)
* Updates to PEP 690

* Remove obsolete reference

* Lazy imports are plural
2022-11-04 10:16:35 -07:00
Hugo van Kemenade cad6880e86
PEP 383: Fix broken link (#2863) 2022-11-02 11:34:56 -07:00
Paul Moore 3847f6abef
PEP 700: Update following discussions on Discourse (gh-2859) 2022-11-01 22:53:40 +00:00
Hugo van Kemenade 780ba199a2
Infra: Add 'make help' (#2858) 2022-10-31 14:34:37 +02:00
James Hilton-Balfe 2e5e94ed44
PEP 696: Changes from Pyright implementation (#2844)
Co-authored-by: Eric Traut <eric@traut.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-30 16:52:01 -07:00
Eclips4 dc44249a14
PEP 675: Clarify Motivation query examples are abridged (#2854)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-10-30 06:29:39 -07:00