8000 PEP 787: Defer pending PyPI library experimentation (#4389) · python/peps@3d62837 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3d62837

Browse files
ncoghlanhugovkAA-Turner
authored
PEP 787: Defer pending PyPI library experimentation (#4389)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 45e6128 commit 3d62837

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

peps/pep-0787.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PEP: 787
22
Title: Safer subprocess usage using t-strings
33
Author: Nick Humrich <nick@humrich.us>, Alyssa Coghlan <ncoghlan@gmail.com>
44
Discussions-To: https://discuss.python.org/t/pep-787-safer-subprocess-usage-using-t-strings/88311
5-
Status: Draft
5+
Status: Deferred
66
Type: Standards Track
77
Requires: 750
88
Created: 13-Apr-2025
@@ -18,6 +18,18 @@ proposes extending the :mod:`subprocess` and :mod:`shlex` modules to natively su
1818
safer and more ergonomic shell command execution with interpolated values, as well as
1919
serving as a reference implementation for the t-string feature to improve API ergonomics.
2020

21+
PEP Deferral
22+
============
23+
24+
During the discussions of the initial draft of the PEP, it became clear that t-strings provide
25+
a potential opportunity to offer ``shell=True`` levels of syntactic convenience for complex
26+
subprocess invocations without all of the security and cross-platform compatibility concerns
27+
that arise with giving user provided text access to a full system shell.
28+
29+
To that end, the PEP authors now plan to work on an experimental :pypi:`t-string
30+
based subprocess invocation library <tstrprocess>` through the Python 3.14 beta
31+
period (and beyond), before preparing a revised draft of the proposal for Python 3.15.
32+
2133
Motivation
2234
==========
2335

0 commit comments

Comments
 (0)
0