Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-96910: IDLE - make autocomplete winnconfig handler only trigger once#28332

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
taleinat wants to merge2 commits intopython:main
base:main
Choose a base branch
Loading
fromtaleinat:idle-simplify-autocomplete_w-winconfig

Conversation

taleinat
Copy link
Contributor

@taleinattaleinat commentedSep 14, 2021
edited by bedevere-bot
Loading

Before, this was only enforced on the Windows platform, where multiple calls would result in errors. But logically it is the correct behavior, and it allows simplifying the code as well.

This also includes a minor change to correctly useplatform.system() == "Windows" rather than.startswith("Windows").

Note that this requires the fix in PRGH-28328 to work properly on Linux.

Also, note that this has no effect on the position of the completion window while scrolling the editor window, which isn't updated anyways as far as I can tell.

… onceBefore, this was only enforced on the Windowsplatform, where multiple calls would result inerrors. But logically it is the correct behavior,and it allows simplifying the code as well.Signed-off-by: Tal Einat <532281+taleinat@users.noreply.github.com>
@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsbot added the staleStale PR or inactive for long period of time. labelOct 16, 2021
@terryjreedy
Copy link
Member

terryjreedy commentedJan 24, 2022
edited by bedevere-bot
Loading

PR#28328 forbpo-45193 was closed and a simpler fix applied to 3.11 and 3.10, with a fix for 3.9 pending. This should work for 3.11 and .10. I am thinking of backporting a simplified version to 3.9 and not worry that it is not perfect.

Closing and opening to see current results.

In msg401802 ofbpo-45193, I said "I would rather make a more extensive change than to patch a badly written function for at least the fourth time. I will open an issue for [this] PR and explain later." If I cannot soon remember what I meant, I should apply this after more test and review.

@github-actionsgithub-actionsbot removed the staleStale PR or inactive for long period of time. labelAug 12, 2022
@terryjreedyterryjreedy changed the titleIDLE: make the auto-complete window's winnconfig handler only trigger oncegh-96910: IDLE - make autocomplete winnconfig handler only trigger onceSep 18, 2022
@terryjreedyterryjreedy self-assigned thisSep 18, 2022
@python-cla-bot
Copy link

python-cla-botbot commentedApr 18, 2025
edited
Loading

All commit authors signed the Contributor License Agreement.

CLA signed

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

@terryjreedyterryjreedyAwaiting requested review from terryjreedyterryjreedy is a code owner

Assignees

@terryjreedyterryjreedy

Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@taleinat@terryjreedy@the-knights-who-say-ni@ezio-melotti@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp