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
Peter Law
a3310aeeff
PEP 649: Fix nested list formatting ( #2856 )
2022-10-29 16:01:10 +03:00
Eric Snow
4a2e3e3059
PEP 684: Updates for Round 2 of Discussions (gh-2807)
2022-10-28 19:28:38 -06:00
Steven Troxler
37a5ea8fe6
PEP 698: Add `__override__` flag to runtime behavior ( #2855 )
...
We decided to add this for two reasons:
- It was specifically requested by the author of the `overrides`
library, because there there are some handy runtime uses
of override information (such as propagating docstrings, which
we highlight as a concrete example)
- We realized that we actually added `__final__` to
`@typing.final` in spite of it not being specified in PEP 591,
which we felt strongly suggests that even if we omit it we
would later change our minds.
This runtime behavior is currently implemented in typing_extensions
(see https://github.com/python/typing_extensions/pull/86 ) as well
as pyre_extensions.
2022-10-28 16:09:33 -07:00
Dustin Ingram
7604dcafbb
PEP 541: Additional clarifications on invalid projects ( #2828 )
2022-10-28 12:02:11 +02:00
Petr Viktorin
a981dc1c2a
PEP 689: Link to new discussion thread ( #2852 )
2022-10-27 18:22:17 +02:00
Petr Viktorin
e707124176
PEP 689: Rewrite, with PyUnstable_ prefix (GH-2847)
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-27 17:16:40 +02:00
Jelle Zijlstra
13c89dc8cb
PEP 688: New Post-History links ( #2850 )
2022-10-26 18:43:02 -07:00
Jelle Zijlstra
f509c2a2fd
PEP 688: Enhancements from discussion ( #2832 )
2022-10-25 21:04:12 -07:00
Hugo van Kemenade
3233678fbd
PEP 693: Set to active with 3.12.0a1 release ( #2845 )
...
Co-authored-by: T. Wouters <thomas@python.org>
2022-10-25 20:37:46 +03:00
Łukasz Langa
bab071ff3f
[pep-0664] Actual date for 3.11.0
2022-10-25 17:13:59 +02:00
Hugo van Kemenade
1a931bf317
Infra: Don't generate broken source link for topic pages ( #2843 )
2022-10-22 20:42:06 -07:00
Sumana Harihareswara
1838f20010
PEP 458: Clarify sequence of PyPI and pip integration ( #2789 )
2022-10-22 10:47:47 +03:00
Hugo van Kemenade
ed92c0697c
Infra: Only emit a category table when it has entries ( #2839 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-10-22 10:44:36 +03:00
Hugo van Kemenade
18b3870e3a
Infra: Declare Makefile targets as phony ( #2841 )
2022-10-22 10:43:53 +03:00
Hugo van Kemenade
c0b28dab5b
Infra: Add tooltips to type/status in PEP 0 ( #2838 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2022-10-22 10:43:36 +03:00
Paul Moore
45e373eb92
PEP 700: Additional Fields for the Simple API for Package Indexes (gh-2840)
2022-10-21 13:38:03 +01:00
Pavel Karateev
759a6bd547
PEP 646: Add forgotten parameter name in examples ( #2837 )
2022-10-20 11:51:08 -07:00
James Hilton-Balfe
71daa07244
PEP 696: Improve section "Using another TypeVarLike as the default" ( #2777 )
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Eric Traut <eric@traut.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-10-19 17:52:52 -07:00