summaryrefslogtreecommitdiffstats
path: root/Doc/faq/index.rst
diff options
context:
space:
mode:
authorM. Kocher <michael.kocher@me.com>2021-04-28 08:16:38 (GMT)
committerGitHub <noreply@github.com>2021-04-28 08:16:38 (GMT)
commitdb0c5b786df961785ae8c803f5572ae0c8dadcc7 (patch)
tree5af87d347bf4a64b2266d04346a74ce2931d755a /Doc/faq/index.rst
parentf9bedb630e8a0b7d94e1c7e609b20dfaa2b22231 (diff)
downloadcpython-db0c5b786df961785ae8c803f5572ae0c8dadcc7.zip
cpython-db0c5b786df961785ae8c803f5572ae0c8dadcc7.tar.gz
cpython-db0c5b786df961785ae8c803f5572ae0c8dadcc7.tar.bz2
bpo-43776: Remove list call from args in Popen repr (GH-25338)
Removes the `list` call in the Popen `repr`. Current implementation: For cmd = `python --version`, with `shell=True`. ```bash <Popen: returncode: None args: ['p', 'y', 't', 'h', 'o', 'n', ' ', '-', '-',...> ``` For `shell=False` and args=`['python', '--version']`, the output is correct: ```bash <Popen: returncode: None args: ['python', '--version']> ``` With the new changes the `repr` yields: For cmd = `python --version`, with `shell=True`: ```bash <Popen: returncode: None args: 'python --version'> ``` For `shell=False` and args=`['python', '--version']`, the output: ```bash <Popen: returncode: None args: ['python', '--version']> ``` Automerge-Triggered-By: GH:gpshead
Diffstat (limited to 'Doc/faq/index.rst')
0 files changed, 0 insertions, 0 deletions