Skip to content

PEP 827: Minor fixes and cleanups#4976

Merged
1st1 merged 1 commit into
python:mainfrom
msullivan:tweaks
May 19, 2026
Merged

PEP 827: Minor fixes and cleanups#4976
1st1 merged 1 commit into
python:mainfrom
msullivan:tweaks

Conversation

@msullivan
Copy link
Copy Markdown
Contributor

  • Fix description of Bool[T] to match the definition

  • Update commentary about GetArg special forms to match change from PEP 827: Wrap the new-style extended callables in a Params argument #4866

  • Update lifting example to use an operator that is still in the spec

  • Make the GenericCallable rationale example more self-consistent

  • Have an example of GenericCallable

  • Change is either:

    • To a Draft PEP
    • To an Accepted or Final PEP, with Steering Council approval
    • To fix an editorial issue (markup, typo, link, header, etc)
  • PR title prefixed with PEP number (e.g. PEP 123: Summary of changes)

 * Fix description of ``Bool[T]`` to match the definition
 * Update commentary about ``GetArg`` special forms to match change from python#4866
 * Update lifting example to use an operator that is still in the spec
 * Make the ``GenericCallable`` rationale example more self-consistent
 * Have an example of ``GenericCallable``
@msullivan msullivan requested a review from 1st1 as a code owner May 19, 2026 01:01
@1st1 1st1 enabled auto-merge (squash) May 19, 2026 01:02
@1st1 1st1 merged commit 78d2e5c into python:main May 19, 2026
4 checks passed
@hugovk
Copy link
Copy Markdown
Member

hugovk commented May 19, 2026

The next update PR can also retarget Python 3.16 now that 3.15 is in feature freeze.

Comment thread peps/pep-0827.rst
we'll probably have to try to evaluate it and then raise an error when
we encounter a variable.)

With our real syntax, this look likes::
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
With our real syntax, this look likes::
With our real syntax, this looks like::

(another one for the next PR)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants