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.
* Lint: Clarify name/ID of required header check
* PEP 440: Fix header ordering
* PEP 441: Fix header ordering
* PEP 523: Fix header ordering
* PEP 612: Fix spurious top-level title section heading
* Lint: Add new check for consistant PEP header order
* PEP 240: Fix issue detected by Sphinx-Lint
* PEP 357: Fix issue detected by Sphinx-Lint
* PEP 447: Fix issue detected by Sphinx-Lint
* PEP 461: Fix issue detected by Sphinx-Lint
* Lint: Autoupdate pre-commit hook versions
* Lint: Re-enable --role-with-double-backticks now that FP is fixed
* Update headers/etc. of older packaging PEPs to reflect replacement PEPs
* Infra: Fix lowercase and tweak plural in text for PyPA spec banner
* Add banner to all relevant PEPs pointing to their canonical PyPA specs
Co-authored-by: Brett Cannon <brett@python.org>
Release PEPs are a pretty unusual kind of PEP and it's useful to me to have
them all listed together. Happy to adjust the name of the topic if desired.
I took the opportunity to adjust the status of a few release PEPs. Now all
releases for EOL versions are Final (3.5 was previously Active), and all
releases for released versions are Active (3.10 was still draft). 3.11 remains
Draft as 3.11 has not yet been released.
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* PEP 555, 653: Fix inline literal missing (escaped) space after literal
* Add newline at end of file
* PEP 692: Add newline at end of file
* PEP 633: Fix missing space before role
* Run sphinx-lint in pre-commit
* PEP 639: Remove rogue backticks
* PEP 372: Remove rogue backticks
* PEP 462: Add missing underscore after closing backtick in hyperlink
* PEP 481: Add missing underscore after closing backtick in hyperlinks
* PEP 507: Add missing underscore after closing backtick in hyperlinks
* PEP 453: Add missing underscore after closing backtick in hyperlinks, and convert to links
* PEP 534: Fix inline literal missing (escaped) space after literal
* PEP 372, 453, 462: Redirect BPO to GH
* PEP 11: Elide long-obselete emacs declaration & header fields
* PEP 11: Convert last footnote to inline link, fix redirect & use HTTPS
* PEP 11: Apply ESU textual fixes/improvements suggested on #2801
* PEP 11: Update Windows section to clarify Fixed vs. Modern lifecycle
* PEP 11: Apply reviewer-suggested tweaks
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* Style: Further lighten table zebra stripes
* Style: Ensure consistent contrast for code blocks in zebra tables
* Style: Add padding around inline code literal BG to not be so tight
* Style: Add horizontal rules and header color to tables
* Style: Remove zebra striping from tables
* Style: Use more sensible color name for admonition + header color