Skip to content

Conversation

@ucodery
Copy link
Contributor

It was previously difficult to notice that -P arg has an equivalent environment variable.

Copy link
Contributor

@hauntsaninjahauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@hauntsaninjahauntsaninja changed the title Associate PYTHONSAFEPATH with -PDocument PYTHONSAFEPATH along side -PJun 27, 2023
@arhadthedev
Copy link
Member

Marking for backporting because it's a bug fix.

@arhadthedevarhadthedev added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Jun 27, 2023
@hauntsaninjahauntsaninja merged commit 0355625 into python:mainJul 3, 2023
@miss-islington
Copy link
Contributor

Thanks @ucodery for the PR, and @hauntsaninja for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 3, 2023
(cherry picked from commit 0355625) Co-authored-by: Jeremy Paige <ucodery@gmail.com>
@bedevere-bot
Copy link

GH-106352 is a backport of this pull request to the 3.12 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.12 only security fixes label Jul 3, 2023
@bedevere-bot
Copy link

GH-106353 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 3, 2023
(cherry picked from commit 0355625) Co-authored-by: Jeremy Paige <ucodery@gmail.com>
@bedevere-botbedevere-bot removed the needs backport to 3.11 only security fixes label Jul 3, 2023
@ucoderyucodery deleted the ucodery/help-env branch July 3, 2023 16:25
carljm added a commit to carljm/cpython that referenced this pull request Jul 3, 2023
* main: (167 commits) pythongh-91053: make func watcher tests resilient to other func watchers (python#106286) pythongh-104050: Add more type hints to Argument Clinic DSLParser() (python#106354) pythongh-106359: Fix corner case bugs in Argument Clinic converter parser (python#106361) pythongh-104146: Remove unused attr 'parameter_indent' from clinic.DLParser (python#106358) pythongh-106320: Remove private _PyErr C API functions (python#106356) pythongh-104050: Annotate Argument Clinic DSLParser attributes (python#106357) pythongh-106320: Create pycore_modsupport.h header file (python#106355) pythongh-106320: Move _PyUnicodeWriter to the internal C API (python#106342) pythongh-61215: New mock to wait for multi-threaded events to happen (python#16094) Document PYTHONSAFEPATH along side -P (python#106122) Replace the esoteric term 'datum' when describing dict comprehensions (python#106119) pythongh-104050: Add more type hints to Argument Clinic DSLParser() (python#106343) pythongh-106320: _testcapi avoids private _PyUnicode_EqualToASCIIString() (python#106341) pythongh-106320: Add pycore_complexobject.h header file (python#106339) pythongh-106078: Move DecimalException to _decimal state (python#106301) pythongh-106320: Use _PyInterpreterState_GET() (python#106336) pythongh-106320: Remove private _PyInterpreterState functions (python#106335) pythongh-104922: Doc: add note about PY_SSIZE_T_CLEAN (python#106314) pythongh-106217: Truncate the issue body size of `new-bugs-announce-notifier` (python#106329) pythongh-104922: remove PY_SSIZE_T_CLEAN (python#106315) ...
ambv pushed a commit that referenced this pull request Jul 5, 2023
Document PYTHONSAFEPATH along side -P (GH-106122) (cherry picked from commit 0355625) Co-authored-by: Jeremy Paige <ucodery@gmail.com>
ambv pushed a commit that referenced this pull request Jul 5, 2023
(cherry picked from commit 0355625) Co-authored-by: Jeremy Paige <ucodery@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@ucodery@arhadthedev@miss-islington@bedevere-bot@hauntsaninja