Title: IDLE - move 3 toplevel fix_xyz functions to idlelb.util · Issue #152728 · python/cpython · GitHub
Open Graph Title: IDLE - move 3 toplevel fix_xyz functions to idlelb.util · Issue #152728 · python/cpython
X Title: IDLE - move 3 toplevel fix_xyz functions to idlelb.util · Issue #152728 · python/cpython
Description: Util.py exists to hold toplevel data and functions used in multiple modules. These three are used in pyshell, test_sidebar, and elsewhere: run.fix_scaling (also used in filelist); editor.fixwordbreaks (rename to fix_word_breaks, also in ...
Open Graph Description: Util.py exists to hold toplevel data and functions used in multiple modules. These three are used in pyshell, test_sidebar, and elsewhere: run.fix_scaling (also used in filelist); editor.fixwordbre...
X Description: Util.py exists to hold toplevel data and functions used in multiple modules. These three are used in pyshell, test_sidebar, and elsewhere: run.fix_scaling (also used in filelist); editor.fixwordbre...
Opengraph URL: https://github.com/python/cpython/issues/152728
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IDLE - move 3 toplevel fix_xyz functions to idlelb.util","articleBody":"Util.py exists to hold toplevel data and functions used in multiple modules.\nThese three are used in pyshell, test_sidebar, and elsewhere:\nrun.fix_scaling (also used in filelist);\neditor.fixwordbreaks (rename to fix_word_breaks, also in filelist);\npyshell.fix_x11_paste (also in test_editmenu).\nThis will slightly simplify the idlelib import graph by breaking some loops.\n\n**No previous discussion: Minor refactor.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-152729\n* gh-152730\n* gh-152731\n* gh-152732\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/terryjreedy","@type":"Person","name":"terryjreedy"},"datePublished":"2026-07-01T04:01:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/152728/cpython/issues/152728"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e84b06eb-e0c1-33b4-6e97-616438e39a03 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA40:FDBAE:728A17:9B5E23:6A515110 |
| html-safe-nonce | 5f09ce3b6be1395b338bc8c3baae2048800023113eb9ea502c05f6449557f7ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTQwOkZEQkFFOjcyOEExNzo5QjVFMjM6NkE1MTUxMTAiLCJ2aXNpdG9yX2lkIjoiMzQwMzQ4NzYwMzYwNDkzNDkyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ebb9e237c66817aa140a9d4bba478ab399a36df94e649d7db33040d5c375a48c |
| hovercard-subject-tag | issue:4782305842 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/152728/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ef3b341da7e60b9cdfa26a7420bd7177aa9bc1573e8d65a64e05798ad556840c/python/cpython/issues/152728 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ef3b341da7e60b9cdfa26a7420bd7177aa9bc1573e8d65a64e05798ad556840c/python/cpython/issues/152728 |
| og:image:alt | Util.py exists to hold toplevel data and functions used in multiple modules. These three are used in pyshell, test_sidebar, and elsewhere: run.fix_scaling (also used in filelist); editor.fixwordbre... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | terryjreedy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6f17634ed2af1d116850bcea6c63a70a4d72970f33ade1dd3eef3764b7e16994 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 511bff6ea06e144ed085ff736aea4c6404987b00 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width