Skip to content

bpo-26143: IDLE: Ensure IDLE's stdlib imports are from the stdlib#1364

Closed
louisom wants to merge 3 commits into
python:masterfrom
louisom:bpo-26143
Closed

bpo-26143: IDLE: Ensure IDLE's stdlib imports are from the stdlib#1364
louisom wants to merge 3 commits into
python:masterfrom
louisom:bpo-26143

Conversation

@louisom

@louisom louisom commented Apr 30, 2017

Copy link
Copy Markdown
Contributor

Add idlelib.importpath._fix_import_path function to handle
local import problem. The local import path will be recover
when at the end of the argparse part.

Add idlelib.importpath._fix_import_path function to handle
local import problem. The local import path will be recover
when at the end of the argparse part.
@mention-bot

Copy link
Copy Markdown

@lulouie, thanks for your PR! By analyzing the history of the files in this pull request, we identified @kbkaiser, @terryjreedy and @ned-deily to be potential reviewers.

@brettcannon brettcannon added the type-bug An unexpected behavior, bug, or error label May 1, 2017
@louisom louisom changed the title bpo-26143: Ensure IDLE's stdlib imports are from the stdlib bpo-26143: IDLE: Ensure IDLE's stdlib imports are from the stdlib May 10, 2017
@csabella

Copy link
Copy Markdown
Contributor

Since this pull request is from an unknown repository, I'm going to close this. A new pull request can be opened for the bug ticket.

@csabella csabella closed this Jan 12, 2020
@erlend-aasland

erlend-aasland commented Jul 30, 2022

Copy link
Copy Markdown
Contributor

Since this pull request is from an unknown repository, I'm going to close this.

@csabella: Is that a documented constraint in our workflow? IIUC, the only thing we need is the CLA, which seems to have been signed here, so there should be no legal problems here.

@terryjreedy

Copy link
Copy Markdown
Member

@erlend-aasland OP switched to another account for cpython contributions and deleted the python fork on this account, orphaning this PR. I believe you are correct that we could still merge as is or with edits through the web interface. However, we cannot push changes to an 'unknown' (non-existent) repository. This PR would need this for changes that cannot be done through the web or that would need local testing. Adding a new idlelib module and test module for one trivial function is wrong. (I believe that this was Louie's first contribution.) The hard part of this issue is restoring '' to path when needed. This does not do so, in spite of the claim above otherwise. I commented further on the issue, but don't remember looking at the tests in detail, although there might be something usable there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants