Title: gh-65460: IDLE: add completion of dict keys of type str by taleinat · Pull Request #26039 · python/cpython · GitHub
Open Graph Title: gh-65460: IDLE: add completion of dict keys of type str by taleinat · Pull Request #26039 · python/cpython
X Title: gh-65460: IDLE: add completion of dict keys of type str by taleinat · Pull Request #26039 · python/cpython
Description: This is an updated version of PR GH-15169, rebased onto the current main branch and with support for keys of type bytes removed. Note that completion is intentionally limited to keys of type str only. Additional changes made in this PR: The Escape key now closes the completion window. [already done separately] Completing a string or bytes dict key adds a closing square bracket. Some of the auto-completion tests have been changed a bit to run without a GUI. Significant refactoring and cleanup of some existing tests, with better use of mocking. The fake Text widget used for tests has had its index handling greatly improved. Added a very functional fake Listbox widget class. Issue: gh-65460
Open Graph Description: This is an updated version of PR GH-15169, rebased onto the current main branch and with support for keys of type bytes removed. Note that completion is intentionally limited to keys of type str on...
X Description: This is an updated version of PR GH-15169, rebased onto the current main branch and with support for keys of type bytes removed. Note that completion is intentionally limited to keys of type str on...
Opengraph URL: https://github.com/python/cpython/pull/26039
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6992eb81-fcbd-2578-c88e-72008461c2f1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D658:1EDC:2A96D1E:3BF2CBD:6A50066C |
| html-safe-nonce | 5860b5f78350c29aa1facffc321dd2bc7c4fbc600d723a2e70b2dd3bedbf359a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjU4OjFFREM6MkE5NkQxRTozQkYyQ0JEOjZBNTAwNjZDIiwidmlzaXRvcl9pZCI6IjcyMDkzNTU1MzQ0NDg3MjM1NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bf2102c7cb2f5d06bbf712bbbad4da4d62882625e80791b736ab6ed1946529e1 |
| hovercard-subject-tag | pull_request:641708472 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/26039/files |
| twitter:image | https://avatars.githubusercontent.com/u/532281?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/532281?s=400&v=4 |
| og:image:alt | This is an updated version of PR GH-15169, rebased onto the current main branch and with support for keys of type bytes removed. Note that completion is intentionally limited to keys of type str on... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56eec25a3430492dd6ec2a480eb33256a0da5192d5714b0db4f5ab5f33203d94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e155b8a71f9284454f73118dfe5e634e74f7afb3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width