Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue30746

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Reject environment variable names containing '='
Type:behaviorStage:resolved
Components:Extension ModulesVersions:Python 3.7, Python 3.6, Python 3.5, Python 2.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: larry, loewis, serhiy.storchaka
Priority:normalKeywords:

Created on2017-06-24 19:05 byserhiy.storchaka, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 2382mergedserhiy.storchaka,2017-06-24 19:08
PR 2391mergedserhiy.storchaka,2017-06-25 04:51
PR 2392mergedserhiy.storchaka,2017-06-25 04:54
PR 2393mergedserhiy.storchaka,2017-06-25 05:50
PR 2394mergedserhiy.storchaka,2017-06-25 05:53
Messages (6)
msg296781 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2017-06-24 19:05
Environment variable names shouldn't contain the '=' character, because it often is used as a separator between a name and a value. There is an exception -- starting '=' on Windows is used for defining "hidden" environment variables.Using names containing '=' in environment dict in subprocess is prohibited inissue30730. Proposed PR prohibits names containing '=' in two other cases: in os.putenv() and os.spawn*(). It fixes the part ofissue4926.
msg296802 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2017-06-25 04:33
New changeset77703942c5997dff00c48f10df1b29b11645624c by Serhiy Storchaka in branch 'master':bpo-30746: Prohibited the '=' character in environment variable names (#2382)https://github.com/python/cpython/commit/77703942c5997dff00c48f10df1b29b11645624c
msg296811 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2017-06-25 06:48
New changesetaf5392f5c6f8014659e995840df6ee7b5017f743 by Serhiy Storchaka in branch 'master':bpo-30746: Port more tests for os.spawnvpe() and os.execve() from 2.7. (#2394)https://github.com/python/cpython/commit/af5392f5c6f8014659e995840df6ee7b5017f743
msg296812 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2017-06-25 06:49
New changeset9c2dc0c58a878ac3d1c44dd0048f8e1cfab2790e by Serhiy Storchaka in branch '3.6':[3.6]bpo-30746: Prohibited the '=' character in environment variable names (GH-2382) (#2391)https://github.com/python/cpython/commit/9c2dc0c58a878ac3d1c44dd0048f8e1cfab2790e
msg296813 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2017-06-25 06:49
New changeset99e9eb6111ef6a11bfff358866c9f2b0c201ac08 by Serhiy Storchaka in branch '3.5':[3.5]bpo-30746: Prohibited the '=' character in environment variable names (GH-2382) (#2392)https://github.com/python/cpython/commit/99e9eb6111ef6a11bfff358866c9f2b0c201ac08
msg296814 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2017-06-25 06:50
New changeset787826c9316b03ac8a197078ec1cdf98fa840c5c by Serhiy Storchaka in branch '2.7':[2.7]bpo-30746: Prohibited the '=' character in environment variable names (GH-2382) (#2393)https://github.com/python/cpython/commit/787826c9316b03ac8a197078ec1cdf98fa840c5c
History
DateUserActionArgs
2022-04-11 14:58:48adminsetgithub: 74931
2017-06-25 06:51:00serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2017-06-25 06:50:02serhiy.storchakasetmessages: +msg296814
2017-06-25 06:49:43serhiy.storchakasetmessages: +msg296813
2017-06-25 06:49:17serhiy.storchakasetmessages: +msg296812
2017-06-25 06:48:56serhiy.storchakasetmessages: +msg296811
2017-06-25 05:53:46serhiy.storchakasetpull_requests: +pull_request2441
2017-06-25 05:50:57serhiy.storchakasetpull_requests: +pull_request2440
2017-06-25 04:54:20serhiy.storchakasetpull_requests: +pull_request2439
2017-06-25 04:51:50serhiy.storchakasetpull_requests: +pull_request2438
2017-06-25 04:33:03serhiy.storchakasetmessages: +msg296802
2017-06-24 19:08:53serhiy.storchakasetpull_requests: +pull_request2431
2017-06-24 19:05:15serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp