Title: tkinter window doesn't open until mainloop() is invoked · Issue #1012 · bpython/bpython · GitHub
Open Graph Title: tkinter window doesn't open until mainloop() is invoked · Issue #1012 · bpython/bpython
X Title: tkinter window doesn't open until mainloop() is invoked · Issue #1012 · bpython/bpython
Description: I'm seeing a difference in behaviour between the python REPL and bpython. When running this as two lines in the REPL: import tkinter as tk window = tk.Tk() On python 3.12 (and I believe earlier) as soon as the window is created, it appea...
Open Graph Description: I'm seeing a difference in behaviour between the python REPL and bpython. When running this as two lines in the REPL: import tkinter as tk window = tk.Tk() On python 3.12 (and I believe earlier) as...
X Description: I'm seeing a difference in behaviour between the python REPL and bpython. When running this as two lines in the REPL: import tkinter as tk window = tk.Tk() On python 3.12 (and I believe earlier...
Opengraph URL: https://github.com/bpython/bpython/issues/1012
X: @github
Domain: www.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tkinter window doesn't open until mainloop() is invoked","articleBody":"I'm seeing a difference in behaviour between the python REPL and bpython.\r\n\r\nWhen running this as two lines in the REPL:\r\n```\r\nimport tkinter as tk\r\nwindow = tk.Tk()\r\n```\r\n\r\nOn python 3.12 (and I believe earlier) as soon as the window is created, it appears.\r\n\r\nOn bpython running the code makes a separate python app appear (i.e Python appears at the top left of the screen), but there's no window. If I look in 'force quit' then Python says it's not responding.\r\n\r\nHowever, I can get the window to appear by calling `window.mainloop()`. In addition when this is called, Python no longer appears as 'not responding' in the Force Quit window.","author":{"url":"https://github.com/djaychela","@type":"Person","name":"djaychela"},"datePublished":"2024-02-29T08:01:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1012/bpython/issues/1012"}
| 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:33f4452f-4e91-2f34-f500-35f089b916a4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8322:3C8A20:7366541:9859321:696DE12A |
| html-safe-nonce | b78adbb5d0335938f8059a790ee5a32dd0b3ba5574dbf352db0b02ad9f075f45 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzIyOjNDOEEyMDo3MzY2NTQxOjk4NTkzMjE6Njk2REUxMkEiLCJ2aXNpdG9yX2lkIjoiNjA2MjI2NTEwNTA2MTM3MjIwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 527735e6d28fc0f1f397690001274797de752bef94d64c2f543d03b6fb4800b3 |
| hovercard-subject-tag | issue:2160645857 |
| 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/bpython/bpython/1012/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b8edd417b47a69651e74d7715124a70e47556ec18a16241ddaaa069d4f7ace3c/bpython/bpython/issues/1012 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b8edd417b47a69651e74d7715124a70e47556ec18a16241ddaaa069d4f7ace3c/bpython/bpython/issues/1012 |
| og:image:alt | I'm seeing a difference in behaviour between the python REPL and bpython. When running this as two lines in the REPL: import tkinter as tk window = tk.Tk() On python 3.12 (and I believe earlier) as... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | djaychela |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| go-import | github.com/bpython/bpython git https://github.com/bpython/bpython.git |
| octolytics-dimension-user_id | 8071396 |
| octolytics-dimension-user_login | bpython |
| octolytics-dimension-repository_id | 21508865 |
| octolytics-dimension-repository_nwo | bpython/bpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21508865 |
| octolytics-dimension-repository_network_root_nwo | bpython/bpython |
| 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 | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width