Title: bpo-29446: Improve tkinter 'import *' situation by flavianh · Pull Request #14864 · python/cpython · GitHub
Open Graph Title: bpo-29446: Improve tkinter 'import *' situation by flavianh · Pull Request #14864 · python/cpython
X Title: bpo-29446: Improve tkinter 'import *' situation by flavianh · Pull Request #14864 · python/cpython
Description: A pull request for this issue. @ericvsmith recommended using __all__ = [name for name, obj in globals().items() if not name.startswith('_') and not isinstance(obj, types.ModuleType) and name not in {'wantobjects'}]. Also added all in submodules of tkinter. Side note: Interestingly, idlelib/editor.py was using sys and re from tkinter instead of importing them. There may be more modules that use "from tkinter import *" https://bugs.python.org/issue29446
Open Graph Description: A pull request for this issue. @ericvsmith recommended using __all__ = [name for name, obj in globals().items() if not name.startswith('_') and not isinstance(obj, types.ModuleType) and nam...
X Description: A pull request for this issue. @ericvsmith recommended using __all__ = [name for name, obj in globals().items() if not name.startswith('_') and not isinstance(obj, types.ModuleType)...
Opengraph URL: https://github.com/python/cpython/pull/14864
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e8e28fa4-fa5b-79cb-b461-d331f7c517d9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9B8E:16BCD3:69CE90E:9543121:6A4FEA27 |
| html-safe-nonce | b827ca1a965da2bb86644b73ee34945ac206c5f33af98c01af2b801bc99bbc28 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjhFOjE2QkNEMzo2OUNFOTBFOjk1NDMxMjE6NkE0RkVBMjciLCJ2aXNpdG9yX2lkIjoiOTA3NDI3MjUwNjY1NTc5NTc1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8f0ba4302a166b17bec94337e51851adf5b97bb116718ee15878bd6d2e50c1e2 |
| hovercard-subject-tag | pull_request:299392631 |
| 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/14864/files |
| twitter:image | https://avatars.githubusercontent.com/u/5397842?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5397842?s=400&v=4 |
| og:image:alt | A pull request for this issue. @ericvsmith recommended using __all__ = [name for name, obj in globals().items() if not name.startswith('_') and not isinstance(obj, types.ModuleType) and nam... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c |
| 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 | f7e270be010aa4de2871991025fbb97f3afe2bcb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width