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: patch-diff.githubusercontent.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:77ab3186-789f-a069-aed7-803a985716b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A22:3DC8AB:C118B3:108B64B:696FF381 |
| html-safe-nonce | 50319f2cd34fdd607cdfc5caa8e64f754f5a81b39e6618943a752d20005aa551 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTIyOjNEQzhBQjpDMTE4QjM6MTA4QjY0Qjo2OTZGRjM4MSIsInZpc2l0b3JfaWQiOiIzNDE5Nzc0ODcxMTk1ODc0MTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b5f9fa2e24ee1020c1a3c904b3bceea525756f1fbf8655334ba3bc9d3997be88 |
| 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 | 61db99bbb6a7517db80567029869280bdefa9fa883092d6c2aa07ec4ea15f359 |
| 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 | 91ceb31fcdebd150222e05551caf4a28f9532341 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width