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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticleAccepted-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 ArticlePEP 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 ArticlePEP 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 ArticleSubtle 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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 ArticlePEP 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