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: 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:46f47a1b-c705-0d8c-de35-f2fd74998186 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 89E2:3F31A0:D8F9CE:1312F56:6967749C |
| html-safe-nonce | 3150a4fc21193702605c5dfb894ae4d1652a404a12ae8153b88ae1f394a8d62b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUUyOjNGMzFBMDpEOEY5Q0U6MTMxMkY1Njo2OTY3NzQ5QyIsInZpc2l0b3JfaWQiOiI0ODk4OTkwOTk4Mzk4OTIzOTMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 493e4b0833cd65c0e3eada36d4283eafc79fcc93be0ed3d1b812dbbd4ac48d80 |
| 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 | 1a6a4ac66aaa8be0077b72a69fd56fb51cd11215a1e31f0365079e012987234a |
| 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 | 045909cd564d790cacd96dcb8722039dff679d63 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width