Skip to content

PEP 827: Type Manipulation#4834

Merged
1st1 merged 5 commits intopython:mainfrom
msullivan:type-manipulation
Mar 1, 2026
Merged

PEP 827: Type Manipulation#4834
1st1 merged 5 commits intopython:mainfrom
msullivan:type-manipulation

Conversation

@msullivan
Copy link
Contributor

@msullivan msullivan commented Feb 28, 2026

Basic requirements (all PEP Types)

  • Read and followed PEP 1 & PEP 12
  • File created from the latest PEP template
  • PEP has next available number, & set in filename (pep-NNNN.rst), PR title (PEP 123: <Title of PEP>) and PEP header
  • Title clearly, accurately and concisely describes the content in 79 characters or less
  • Core dev/PEP editor listed as Author or Sponsor, and formally confirmed their approval
  • Author, Status (Draft), Type and Created headers filled out correctly
  • PEP-Delegate, Topic, Requires and Replaces headers completed if appropriate
  • Required sections included
    • Abstract (first section)
    • Copyright (last section; exact wording from template required)
  • Code is well-formatted (PEP 7/PEP 8) and is in code blocks, with the right lexer names if non-Python
  • PEP builds with no warnings, pre-commit checks pass and content displays as intended in the rendered HTML
  • Authors/sponsor added to .github/CODEOWNERS for the PEP

Standards Track requirements

  • PEP topic discussed in a suitable venue with general agreement that a PEP is appropriate
  • Suggested sections included (unless not applicable)
    • Motivation
    • Specification
    • Rationale
    • Backwards Compatibility
    • Security Implications
    • How to Teach This
    • Reference Implementation
    • Rejected Ideas
    • Open Issues
    • Acknowledgements
    • Footnotes
    • Change History
  • Python-Version set to valid (pre-beta) future Python version, if relevant
  • Any project stated in the PEP as supporting/endorsing/benefiting from the PEP formally confirmed such
  • Right before or after initial merging, PEP discussion thread created and linked to in Discussions-To and Post-History

📚 Documentation preview 📚: https://pep-previews--4834.org.readthedocs.build/pep-0827/

@msullivan msullivan requested a review from a team as a code owner February 28, 2026 00:01
@msullivan msullivan force-pushed the type-manipulation branch 3 times, most recently from bdec986 to 6f73b61 Compare February 28, 2026 00:14
@brianschubert brianschubert added the new-pep A new draft PEP submitted for initial review label Feb 28, 2026
Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub insists "You need to leave a comment indicating the requested changes." 🤷

@msullivan
Copy link
Contributor Author

Thanks for the edits!

@1st1
Copy link
Member

1st1 commented Mar 1, 2026

@JelleZijlstra @hugovk can we merge the PEP? I think the point of the PR review isn't discussing the PEP but making sure it adheres to standards and rules, right?

@JelleZijlstra
Copy link
Member

Yes, feel free to merge the PR

msullivan and others added 5 commits March 1, 2026 14:32
Co-authored-by: Daniel W. Park <daniel.park@vercel.com>
Co-authored-by: Yury Selivanov <yury@vercel.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@1st1 1st1 force-pushed the type-manipulation branch from b15aa49 to 50a95ad Compare March 1, 2026 22:32
@1st1 1st1 merged commit bda0820 into python:main Mar 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-pep A new draft PEP submitted for initial review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants