René's URL Explorer Experiment


Title: bpo-33839: IDLE tooltips.py: refactor and add docstrings and tests by taleinat · Pull Request #7683 · python/cpython · GitHub

Open Graph Title: bpo-33839: IDLE tooltips.py: refactor and add docstrings and tests by taleinat · Pull Request #7683 · python/cpython

X Title: bpo-33839: IDLE tooltips.py: refactor and add docstrings and tests by taleinat · Pull Request #7683 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: The test coverage is at ~92% (when ignoring the manual "htest" test code). https://bugs.python.org/issue33839

X Description: The test coverage is at ~92% (when ignoring the manual "htest" test code). https://bugs.python.org/issue33839

Opengraph URL: https://github.com/python/cpython/pull/7683

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:67d0ee52-df4b-c460-76e8-bbfd20d17869
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idED5E:39978:A8EE226:AC86CA2:6A50C319
html-safe-nonce6b29b6a5e440cf7216957c31a9d8fd22548a8ee92a99cfc45ae530f41e106599
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDVFOjM5OTc4OkE4RUUyMjY6QUM4NkNBMjo2QTUwQzMxOSIsInZpc2l0b3JfaWQiOiI2NjA5NDc1NzUxNDA5NDAyNjQ5IiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0=
visitor-hmacb641ed2eb62e8e0a7fe58b1676265cc8436088d5a4a42b438172363242f4ebe0
hovercard-subject-tagpull_request:194610845
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/7683/commits
twitter:imagehttps://opengraph.githubassets.com/c682d3f75b5df0ffde4f20f8d9c6dc327417cac97df5a064d81dabd839246b39/python/cpython/pull/7683
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c682d3f75b5df0ffde4f20f8d9c6dc327417cac97df5a064d81dabd839246b39/python/cpython/pull/7683
og:image:altThe test coverage is at ~92% (when ignoring the manual "htest" test code). https://bugs.python.org/issue33839
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametaleinat
hostnamegithub.com
expected-hostnamegithub.com
None72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release08e79d53fc070870d5b168356afebb1e286a2ffe
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/7683/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F7683%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F7683%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/7683/commits
Reloadhttps://github.com/python/cpython/pull/7683/commits
Reloadhttps://github.com/python/cpython/pull/7683/commits
Please reload this pagehttps://github.com/python/cpython/pull/7683/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/7683/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
taleinathttps://github.com/taleinat
python:masterhttps://github.com/python/cpython/tree/master
taleinat:bpo-33839https://github.com/taleinat/cpython/tree/bpo-33839
Conversationhttps://github.com/python/cpython/pull/7683
Commits26 (26)https://github.com/python/cpython/pull/7683/commits
Checkshttps://github.com/python/cpython/pull/7683/checks
Files changedhttps://github.com/python/cpython/pull/7683/files
bpo-33839: IDLE tooltips.py: refactor and add docstrings and testshttps://github.com/python/cpython/pull/7683/commits#top
taleinathttps://github.com/taleinat
python:masterhttps://github.com/python/cpython/tree/master
taleinat:bpo-33839https://github.com/taleinat/cpython/tree/bpo-33839
bpo-33839: cleanup tooltip.pyhttps://github.com/python/cpython/pull/7683/commits/41c1e43600e2417fd2e88cb5e448231f5bcbceb2
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
41c1e43https://github.com/python/cpython/pull/7683/commits/41c1e43600e2417fd2e88cb5e448231f5bcbceb2
https://github.com/python/cpython/tree/41c1e43600e2417fd2e88cb5e448231f5bcbceb2
bpo-33839: refactor CallTip and ToolTip classeshttps://github.com/python/cpython/pull/7683/commits/b0e9a8451cb78abbcc3ada2301d2d43533338428
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
b0e9a84https://github.com/python/cpython/pull/7683/commits/b0e9a8451cb78abbcc3ada2301d2d43533338428
https://github.com/python/cpython/tree/b0e9a8451cb78abbcc3ada2301d2d43533338428
bpo-33839: add doc-string and comments and rename a few variableshttps://github.com/python/cpython/pull/7683/commits/263117ca529efb0142defcb473e4effd99c40dec
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
263117chttps://github.com/python/cpython/pull/7683/commits/263117ca529efb0142defcb473e4effd99c40dec
https://github.com/python/cpython/tree/263117ca529efb0142defcb473e4effd99c40dec
bpo-33839: avoid Tcl exceptions upon closing IDLE with a call-tip shownhttps://github.com/python/cpython/pull/7683/commits/187e0e54943465ac90a8864a44abefee970bdc88
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
187e0e5https://github.com/python/cpython/pull/7683/commits/187e0e54943465ac90a8864a44abefee970bdc88
https://github.com/python/cpython/tree/187e0e54943465ac90a8864a44abefee970bdc88
bpo-33839: add automated tests for tooltip.py (92% coverage)https://github.com/python/cpython/pull/7683/commits/6fb9ba91d4b22b145b46484ab772dd8ffda596c7
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
6fb9ba9https://github.com/python/cpython/pull/7683/commits/6fb9ba91d4b22b145b46484ab772dd8ffda596c7
https://github.com/python/cpython/tree/6fb9ba91d4b22b145b46484ab772dd8ffda596c7
bpo-33839: add another tooltip test and improve existing testshttps://github.com/python/cpython/pull/7683/commits/f84a2b9d94dc643fd194e5eb0c2a8b8240c36693
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
f84a2b9https://github.com/python/cpython/pull/7683/commits/f84a2b9d94dc643fd194e5eb0c2a8b8240c36693
https://github.com/python/cpython/tree/f84a2b9d94dc643fd194e5eb0c2a8b8240c36693
bpo-33839: add NEWS entryhttps://github.com/python/cpython/pull/7683/commits/ef721caec51c2cb63824be8856f5b455af6b69b3
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
ef721cahttps://github.com/python/cpython/pull/7683/commits/ef721caec51c2cb63824be8856f5b455af6b69b3
https://github.com/python/cpython/tree/ef721caec51c2cb63824be8856f5b455af6b69b3
Merge remote-tracking branch 'origin/master' into pr_7683https://github.com/python/cpython/pull/7683/commits/f2857dd5dfa48ebec2c339a0a09ea710441d5c72
https://github.com/terryjreedy
terryjreedyhttps://github.com/python/cpython/commits?author=terryjreedy
f2857ddhttps://github.com/python/cpython/pull/7683/commits/f2857dd5dfa48ebec2c339a0a09ea710441d5c72
https://github.com/python/cpython/tree/f2857dd5dfa48ebec2c339a0a09ea710441d5c72
Change 'widget', changes to '_text_widget' in calltip_w, to 'test_widget'.https://github.com/python/cpython/pull/7683/commits/eeed210e6fa06604eb5aa7d712ff3a422420e36d
https://github.com/terryjreedy
terryjreedyhttps://github.com/python/cpython/commits?author=terryjreedy
eeed210https://github.com/python/cpython/pull/7683/commits/eeed210e6fa06604eb5aa7d712ff3a422420e36d
https://github.com/python/cpython/tree/eeed210e6fa06604eb5aa7d712ff3a422420e36d
Quote string arg in htest.https://github.com/python/cpython/pull/7683/commits/5afa8e1179afa6838a7b8f625ec678f63d6afc92
https://github.com/terryjreedy
terryjreedyhttps://github.com/python/cpython/commits?author=terryjreedy
5afa8e1https://github.com/python/cpython/pull/7683/commits/5afa8e1179afa6838a7b8f625ec678f63d6afc92
https://github.com/python/cpython/tree/5afa8e1179afa6838a7b8f625ec678f63d6afc92
Shorten HIDE_VIRTUAL_EVENT_NAME to HIDE_EVENT.https://github.com/python/cpython/pull/7683/commits/1198a0c365b6ba6bc7d42e36e9de5c646106e96a
https://github.com/terryjreedy
terryjreedyhttps://github.com/python/cpython/commits?author=terryjreedy
1198a0chttps://github.com/python/cpython/pull/7683/commits/1198a0c365b6ba6bc7d42e36e9de5c646106e96a
https://github.com/python/cpython/tree/1198a0c365b6ba6bc7d42e36e9de5c646106e96a
Add unittest invocation. This not only allows running test from editor,https://github.com/python/cpython/pull/7683/commits/d9bcc1f3a03be665a1e2295099144f82e05624de
https://github.com/terryjreedy
terryjreedyhttps://github.com/python/cpython/commits?author=terryjreedy
d9bcc1fhttps://github.com/python/cpython/pull/7683/commits/d9bcc1f3a03be665a1e2295099144f82e05624de
https://github.com/python/cpython/tree/d9bcc1f3a03be665a1e2295099144f82e05624de
Improve message for calltip htest.https://github.com/python/cpython/pull/7683/commits/bae3bb256bce55b36710ef12956a72eee3dbb1c1
https://github.com/terryjreedy
terryjreedyhttps://github.com/python/cpython/commits?author=terryjreedy
bae3bb2https://github.com/python/cpython/pull/7683/commits/bae3bb256bce55b36710ef12956a72eee3dbb1c1
https://github.com/python/cpython/tree/bae3bb256bce55b36710ef12956a72eee3dbb1c1
bpo-33839: change capitalization: "ToolTip" -> "Tooltip"https://github.com/python/cpython/pull/7683/commits/dd677b5ceefb45526416483df3d072f50b07e1b2
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
dd677b5https://github.com/python/cpython/pull/7683/commits/dd677b5ceefb45526416483df3d072f50b07e1b2
https://github.com/python/cpython/tree/dd677b5ceefb45526416483df3d072f50b07e1b2
bpo-33839: add doc-strings for __init__ methods in tooltip.pyhttps://github.com/python/cpython/pull/7683/commits/1c990f3320a531c865fa9ea3c031edcf9b1b3240
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
1c990f3https://github.com/python/cpython/pull/7683/commits/1c990f3320a531c865fa9ea3c031edcf9b1b3240
https://github.com/python/cpython/tree/1c990f3320a531c865fa9ea3c031edcf9b1b3240
Merge remote-tracking branch 'upstream/master' into bpo-33839https://github.com/python/cpython/pull/7683/commits/c55ca3157a9f8456ce2fc77caeb4954617867534
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
c55ca31https://github.com/python/cpython/pull/7683/commits/c55ca3157a9f8456ce2fc77caeb4954617867534
https://github.com/python/cpython/tree/c55ca3157a9f8456ce2fc77caeb4954617867534
bpo-33839: remove duplication of .anchor_widget as .text_widgethttps://github.com/python/cpython/pull/7683/commits/a1b22e4c25c3daa1a3b5505b1246e24836178e8c
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
a1b22e4https://github.com/python/cpython/pull/7683/commits/a1b22e4c25c3daa1a3b5505b1246e24836178e8c
https://github.com/python/cpython/tree/a1b22e4c25c3daa1a3b5505b1246e24836178e8c
bpo-33839: improve doc-strings and comments plus minor code cleanuphttps://github.com/python/cpython/pull/7683/commits/3ecbd657908e30d8470ed97c5fd034cd54a1b3f0
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
3ecbd65https://github.com/python/cpython/pull/7683/commits/3ecbd657908e30d8470ed97c5fd034cd54a1b3f0
https://github.com/python/cpython/tree/3ecbd657908e30d8470ed97c5fd034cd54a1b3f0
bpo-33839: add a test for tooltip avoiding creating duplicate TopLevelhttps://github.com/python/cpython/pull/7683/commits/a7f858b29b930f4446faf1133c2cd4d8f05207c2
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
a7f858bhttps://github.com/python/cpython/pull/7683/commits/a7f858b29b930f4446faf1133c2cd4d8f05207c2
https://github.com/python/cpython/tree/a7f858b29b930f4446faf1133c2cd4d8f05207c2
Center box; widen so title all visible.https://github.com/python/cpython/pull/7683/commits/5d3c3848a88c8d3d6d672badd41901d8751e45b9
https://github.com/terryjreedy
terryjreedyhttps://github.com/python/cpython/commits?author=terryjreedy
5d3c384https://github.com/python/cpython/pull/7683/commits/5d3c3848a88c8d3d6d672badd41901d8751e45b9
https://github.com/python/cpython/tree/5d3c3848a88c8d3d6d672badd41901d8751e45b9
calltip_w docstringshttps://github.com/python/cpython/pull/7683/commits/f81fbbf648144539e70199bab10b5036c4ce39d4
https://github.com/terryjreedy
terryjreedyhttps://github.com/python/cpython/commits?author=terryjreedy
f81fbbfhttps://github.com/python/cpython/pull/7683/commits/f81fbbf648144539e70199bab10b5036c4ce39d4
https://github.com/python/cpython/tree/f81fbbf648144539e70199bab10b5036c4ce39d4
bpo-33839: remove Tooltip.is_active()https://github.com/python/cpython/pull/7683/commits/3847011b3a364d079312a9d6d4245901785689cb
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
3847011https://github.com/python/cpython/pull/7683/commits/3847011b3a364d079312a9d6d4245901785689cb
https://github.com/python/cpython/tree/3847011b3a364d079312a9d6d4245901785689cb
Merge branch 'master' into bpo-33839https://github.com/python/cpython/pull/7683/commits/5d92ba04ba1f1fca8e81489cfc1b41e0f61b45c9
https://github.com/terryjreedy
terryjreedyhttps://github.com/python/cpython/commits?author=terryjreedy
5d92ba0https://github.com/python/cpython/pull/7683/commits/5d92ba04ba1f1fca8e81489cfc1b41e0f61b45c9
https://github.com/python/cpython/tree/5d92ba04ba1f1fca8e81489cfc1b41e0f61b45c9
update_idletasks in show_tip, Texttip > Hovertiphttps://github.com/python/cpython/pull/7683/commits/8adaa771422a7a9f84d524a1ef337d084525fe44
https://github.com/terryjreedy
terryjreedyhttps://github.com/python/cpython/commits?author=terryjreedy
8adaa77https://github.com/python/cpython/pull/7683/commits/8adaa771422a7a9f84d524a1ef337d084525fe44
https://github.com/python/cpython/tree/8adaa771422a7a9f84d524a1ef337d084525fe44
Make tests pass with Hovertip.https://github.com/python/cpython/pull/7683/commits/23d57c87633d385b0ec06565a4aca74c19b64556
https://github.com/terryjreedy
terryjreedyhttps://github.com/python/cpython/commits?author=terryjreedy
23d57c8https://github.com/python/cpython/pull/7683/commits/23d57c87633d385b0ec06565a4aca74c19b64556
https://github.com/python/cpython/tree/23d57c87633d385b0ec06565a4aca74c19b64556
bpo-33839: document hover_delay parameter and fix indentationhttps://github.com/python/cpython/pull/7683/commits/98f4ae46bfb09777bc57a1c5de9d0bbc7d0cd09b
https://github.com/taleinat
taleinathttps://github.com/python/cpython/commits?author=taleinat
98f4ae4https://github.com/python/cpython/pull/7683/commits/98f4ae46bfb09777bc57a1c5de9d0bbc7d0cd09b
https://github.com/python/cpython/tree/98f4ae46bfb09777bc57a1c5de9d0bbc7d0cd09b
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.