GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — IPython does not respect `sys.flags.safe_path` (aka, PYTHONSAFEPATH or -P) · Issue #15013 · ipython/ipython Closed DescriptionSummary IPython currently ignores Python's PYTHONSAFEPATH environment variable and -P command line flag, which were introduced in Python 3.11 to prevent potentially unsafe paths from being added to sys.path. I am suggesting IPython should respect that flag. Current Behavior When running This can lead to unintended imports of local files over installed packages. It can also introduce security concerns as described in ohmyzsh/ohmyzsh#12535 IPython has its own flag ( Therefore, right now, the easiest way to configure ipython to respect Expected Behavior In addition to its own flag, IPython should also respect Proposed Solution Modify the At least one other tool, Compatibility Since IPython requires Python ≥3.11, I've created a commit which implements this, which I am happy to submit as a PR, if the maintainers see this change as desireable? Is is algal@c5e95d1 Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |