Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-104719: IDLE - test existence of all tokenize references. #104767

Merged
merged 14 commits into from
May 24, 2023

Conversation

terryjreedy
Copy link
Member

@terryjreedy terryjreedy commented May 22, 2023

This was prompted when (temporary) removal of tokenize.tabsize broke IDLE without a CI failure.
Class editor.IndentSearcher contains all editor references to the tokenize module.
The 2 iomenu references cover those in pyshell, run, and runscript also.

Lib/idlelib/editor.py Outdated Show resolved Hide resolved
Lib/idlelib/idle_test/test_iomenu.py Outdated Show resolved Hide resolved
terryjreedy and others added 2 commits May 23, 2023 01:06
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@terryjreedy terryjreedy added needs backport to 3.11 only security fixes needs backport to 3.12 bug and security fixes and removed topic-IDLE labels May 23, 2023
@terryjreedy terryjreedy enabled auto-merge (squash) May 23, 2023 21:34
@terryjreedy
Copy link
Member Author

@Yhg1s Can you as RM merge this? Address sanitizer had failed 4 times in a row because test_hashlib, test_importlib, and test_threading (X3) have altered the environment. Details on discord core-workflow. (Will rerun again

@terryjreedy terryjreedy merged commit e561c09 into python:main May 24, 2023
@miss-islington
Copy link
Contributor

Thanks @terryjreedy for the PR 🌮🎉.. 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 May 24, 2023
…ythonGH-104767)

Class editor.IndentSearcher contains all editor references to tokenize module.
Module io tokenize reference cover those other modules.

(cherry picked from commit e561c09)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@bedevere-bot
Copy link

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

@bedevere-bot bedevere-bot removed the needs backport to 3.12 bug and security fixes label May 24, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 24, 2023
…ythonGH-104767)

Class editor.IndentSearcher contains all editor references to tokenize module.
Module io tokenize reference cover those other modules.

(cherry picked from commit e561c09)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@bedevere-bot
Copy link

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

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label May 24, 2023
terryjreedy added a commit that referenced this pull request May 24, 2023
…H-104767) (#104844)

gh-104719: IDLE - test existence of all tokenize references. (GH-104767)

Class editor.IndentSearcher contains all editor references to tokenize module.
Module io tokenize reference cover those other modules.

(cherry picked from commit e561c09)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
terryjreedy added a commit that referenced this pull request May 24, 2023
…H-104767) (#104845)

gh-104719: IDLE - test existence of all tokenize references. (GH-104767)

Class editor.IndentSearcher contains all editor references to tokenize module.
Module io tokenize reference cover those other modules.

(cherry picked from commit e561c09)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@JelleZijlstra
Copy link
Member

The buildbot failure might be a bad interaction with #104846 which @pablogsal merged earlier.

@JelleZijlstra
Copy link
Member

Oh, seems like Pablo already fixed this in his PR?

@terryjreedy
Copy link
Member Author

terryjreedy commented May 24, 2023

From #104880 message. "Order of events:
Terry automerged new idlelib test into main.
Ms. I. made a 3.12 backport; tests passed.
Pablo merged the tokenize change with idlelib test fix into main. Pablo merged a 3.12 backport without the idle test fix as the backport of the latter had not yet been been merged. Terry merged the idlelib test backport. The new test failed on at least 4 3.12 buildbots because of the tokenize change. This PR backports the now needed idlelib test fix."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants