Skip to content

Commit

Permalink
PEP 501: Withdraw in favour of PEP 750
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoghlan committed Oct 19, 2024
1 parent 5e67f84 commit 7931a63
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions peps/pep-0501.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PEP: 501
Title: General purpose template literal strings
Author: Alyssa Coghlan <[email protected]>, Nick Humrich <[email protected]>
Discussions-To: https://discuss.python.org/t/pep-501-reopen-general-purpose-string-template-literals/24625
Status: Draft
Status: Withdrawn
Type: Standards Track
Content-Type: text/x-rst
Requires: 701
Expand All @@ -11,8 +11,9 @@ Python-Version: 3.12
Post-History: `08-Aug-2015 <https://mail.python.org/archives/list/[email protected]/thread/EAZ3P2M3CDDIQFR764NF6FXQHWXYMKJF/>`__,
`05-Sep-2015 <https://mail.python.org/archives/list/[email protected]/thread/ILVRPS6DTFZ7IHL5HONDBB6INVXTFOZ2/>`__,
`09-Mar-2023 <https://discuss.python.org/t/pep-501-reopen-general-purpose-string-template-literals/24625>`__,
Superseded-By: 750

.. TODO: Start new PEP 501 d.p.o thread once these updates have been merged
.. superseded:: 750

Abstract
========
Expand All @@ -31,6 +32,34 @@ appropriate escaping and other string processing on inputs
while retaining the usability and convenience of f-strings.


PEP Withdrawal
==============

When :pep:`750` was first published as a "tagged strings" proposal
(allowing for arbitrary string prefixes), this PEP was kept open to
continue championing the simpler "template literal" approach that
used a single dedicated string prefix to produce instance of a new
"interpolation template" type.

The `October 2024 updates <https://github.com/python/peps/pull/4062>`__
to :pep:`750` agreed that template strings were a better fit for Python
than the broader tagged strings concept.

All of the other concerns the authors of this PEP had with :pep:`750`
were also either addressed in those updates, or else left in a state
where they could reasonably be addressed in a future change proposal.

Due to the clear improvements in the updated :pep:`750` proposal,
this PEP has been withdrawn in favour of :pep:`750`.

.. important::

The remainder of this PEP still reflects the state of the tagged strings
proposal in August 2024. It has *not* been updated to reflect the
October 2024 changes to :pep:`750`, since the PEP withdrawal makes doing
so redundant.


Relationship with other PEPs
============================

Expand Down

0 comments on commit 7931a63

Please sign in to comment.