Quantcast
Channel: PEPs - Discussions on Python.org
Browsing latest articles
Browse All 41 View Live

Image may be NSFW.
Clik here to view.

PEP 738: Adding Android as a supported platform

Following the same pattern as PEP 730 for iOS, I’d like to propose adding Android as a Tier 3 platform in Python 3.13. pep-previews--3586.org.readthedocs.build PEP 738 – Adding Android as a supported...

View Article


Image may be NSFW.
Clik here to view.

PEP 734: Multiple Interpreters in the Stdlib

PEP 734 is the new proposal I’m introducing to replace PEP 554. The new PEP is available online: https://peps.python.org/pep-0734/. I’ve also included the text at the bottom of this post. Why a new...

View Article

PEP 467: Minor API improvements for binary sequences

PEP 467: Minor API improvements for binary sequences is ready for further discussion. The one point I’m a little unsure of is the exclusion of memoryview (because I have a project that would benefit...

View Article

PEP 736: Shorthand syntax for keyword arguments at invocation

This is a discussion thread for PEP 736 which is currently in draft. Previous threads have generated a lot of conversation already so it would be really appreciated if you could read the PEP and...

View Article

PEP 741: Python Configuration C API

Read the PEP 741: Python Configuration C API. Abstract Add a C API to the limited C API to configure the Python preinitialization and initialization, and to get the current configuration. It can be...

View Article


PEP 741: Python Configuration C API (second version)

Hi, I wrote a major update of my PEP 741 “Python Configuration C API (second version)” to address most, if not all, requests in the previous discussion. => Read the updated PEP 741 <= See the...

View Article

Image may be NSFW.
Clik here to view.

PEP 728: TypedDict with Typed Extra Items

peps.python.org PEP 728 – TypedDict with Typed Extra Items | peps.python.org Python Enhancement Proposals (PEPs) 02/17/2024 Update Hi, I’m presenting PEP 728. Now, instead of "__extra__", the proposal...

View Article

Image may be NSFW.
Clik here to view.

PEP 742: Narrowing types with TypeIs

PEP 742 proposes to add a new special form to the type system to support user-defined type narrowing functions. peps.python.org PEP 742 – Narrowing types with TypeIs | peps.python.org Python...

View Article


PEP 667 -- Consistent views of namespaces

PEP 667 – Consistent views of namespaces | peps.python.org PEP 667 proposes replacing the dict returned frame.f_locals with a write-through proxy. The locals() function will still return a dict, but...

View Article


Image may be NSFW.
Clik here to view.

PEP 743: Add Py_COMPAT_API_VERSION to the Python C API

link: PEP 743 – Add Py_COMPAT_API_VERSION to the Python C API | peps.python.org Abstract: Add Py_COMPAT_API_VERSION and Py_COMPAT_API_VERSION_MAX macros to opt-in for planned incompatible C API...

View Article

PEP 744: JIT Compilation

PEP 744 is an informational PEP answering many common questions about CPython 3.13’s new experimental JIT compiler. My main goal for this PEP is to build community consensus around the specific...

View Article

Accepted-but-not-final Python 3.12 PEPs?

Several of the PEPs implemented for Python 3.12 (What’s New In Python 3.12 — Python 3.12.3 documentation) are still listed as accepted. The ones that caught my eye (as I’m not aware of any remaining...

View Article

Image may be NSFW.
Clik here to view.

PEP 749: Implementing PEP 649

It’s a PEP… about a PEP. Python Enhancement Proposals (PEPs) PEP 749 – Implementing PEP 649 | peps.python.org Python Enhancement Proposals (PEPs) I have started work on implementing PEP 649, deferred...

View Article


Image may be NSFW.
Clik here to view.

PEP 2026: Calendar versioning for Python

Hello! Here’s my PEP for Python to adopt calendar versioning, based on my talk at the Language Summit at PyCon US. I’m proposing the preferred option of summit attendees (3.YY) which I feel has a good...

View Article

Subtle backward incompatibility in PEP 725?

I couldn’t find a specific topic about PEP 725 – Specifying external dependencies in pyproject.toml on DPO [1], but in reading it over recently, I wonder if there is a latent backward incompatibility....

View Article


PEP 736: Keyword Argument Shorthand: Final Draft

This is a discussion thread for PEP 736 which is currently being prepared for its final draft. Previous threads have generated a lot of conversation already so it would be really appreciated if you...

View Article

PEP 743 – Add Py_COMPAT_API_VERSION to the Python C API (take 2)

Since the previous version of this PEP, I’ve teamed up with Victor to rewrite it. The result is available as the current version of PEP 743, and quoted below. In short, we propose a single macro that...

View Article


Image may be NSFW.
Clik here to view.

PEP 750: Tag Strings For Writing Domain-Specific Languages

Hi! We are very excited to present PEP 750 - Tag Strings For Writing Domain-Specific Languages. We believe that tag strings will be a great addition to Python, which will make string processing and...

View Article

PEP 638: security implications for syntactic macros? (EDIT: title corrected)

I’d like to see a discussion in the PEP about security implications, even if it says that no vulnerabilities can possibly exist. 2 posts - 2 participants Read full topic

View Article

PEP 7: Break lines before operators, like PEP 8?

In 2016, PEP 8 was updated to prefer breaking lines before operators for new code. The section has rationale. PEP 7 still recommends the older style: When you break a long expression at a binary...

View Article

Image may be NSFW.
Clik here to view.

PEP 756 – [C API] Add PyUnicode_Export() and PyUnicode_Import() C functions

Read the PEP: https://peps.python.org/pep-0756/ The Add PyUnicode_Export() and PyUnicode_Import() to the limited C API decision issue of the C API Working Group has now more than 50 comments which...

View Article


PEP 757 – C API to import-export Python integers

Read the PEP: https://peps.python.org/pep-0757/ Previous discussions have more than 150 messages which makes it difficult to read/navigate. I wrote PEP 757 to summarize the discussion. It might be...

View Article


Image may be NSFW.
Clik here to view.

PEP 758: Allow `except` and `except*` expressions without parentheses

Python Enhancement Proposals (PEPs) PEP 758 – Allow except and except* expressions without parentheses |... This PEP 1 proposes to allow unparenthesized except and except* blocks in Python’s exception...

View Article

Image may be NSFW.
Clik here to view.

PEP 761: Deprecating PGP signatures for CPython artifacts

Python Enhancement Proposals (PEPs) PEP 761 – Deprecating PGP signatures for CPython artifacts | peps.python.org Since Python 3.11.0, CPython has provided two verifiable digital signatures for all...

View Article

Image may be NSFW.
Clik here to view.

PEP 760 – No More Bare Excepts

Update: We have decided to withdraw the PEP as the consensus is that the benefits doesn’t justify the cost ———- Hi everyone, As the evil twin of PEP 758: Allow `except` and `except*` expressions...

View Article

Browsing latest articles
Browse All 41 View Live