Title: Tkinter: test failure due to Tk 8.6.14 listbox bugfix · Issue #107262 · python/cpython · GitHub
Open Graph Title: Tkinter: test failure due to Tk 8.6.14 listbox bugfix · Issue #107262 · python/cpython
X Title: Tkinter: test failure due to Tk 8.6.14 listbox bugfix · Issue #107262 · python/cpython
Description: The current output of the itemconfigure command for listbox widgets falsely suggests that the configuration of listbox items is influenced by the options database (if I understand correctly). This will be fixed in Tk 8.6.14: see https://...
Open Graph Description: The current output of the itemconfigure command for listbox widgets falsely suggests that the configuration of listbox items is influenced by the options database (if I understand correctly). This ...
X Description: The current output of the itemconfigure command for listbox widgets falsely suggests that the configuration of listbox items is influenced by the options database (if I understand correctly). This ...
Opengraph URL: https://github.com/python/cpython/issues/107262
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tkinter: test failure due to Tk 8.6.14 listbox bugfix","articleBody":"The current output of the `itemconfigure` command for listbox widgets falsely suggests that the configuration of listbox items is influenced by the options database (if I understand correctly). This will be fixed in Tk 8.6.14: see https://core.tcl-lang.org/tk/info/ed8eae599d76 and https://core.tcl-lang.org/tk/vdiff?from=edf00be1\u0026to=025022a4\r\n\r\nAlthough `tkinter.Listbox.itemconfigure()` will still work properly, test.test_tkinter.test_widgets.ListboxTest.test_itemconfigure will fail since it expects the erroneous output:\r\n\r\n```\r\n======================================================================\r\nFAIL: test_itemconfigure (test.test_tkinter.test_widgets.ListboxTest.test_itemconfigure)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/Users/user/git/cpython/Lib/test/test_tkinter/test_widgets.py\", line 1002, in test_itemconfigure\r\n self.assertEqual(widget.itemconfigure(0, 'background'),\r\nAssertionError: Tuples differ: ('background', '', '', '', 'red') != ('background', 'background', 'Background', '', 'red')\r\n\r\nFirst differing element 1:\r\n''\r\n'background'\r\n\r\n- ('background', '', '', '', 'red')\r\n+ ('background', 'background', 'Background', '', 'red')\r\n```\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-119322\n* gh-119806\n* gh-119807\n* gh-130274\n* gh-130275\n* gh-130276\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/chrstphrchvz","@type":"Person","name":"chrstphrchvz"},"datePublished":"2023-07-25T19:12:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/107262/cpython/issues/107262"}
| 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:03435701-ef8b-88e1-4fc8-40d42ce91908 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E408:137B94:71C0E6:974657:6A5B4F19 |
| html-safe-nonce | 9c878846470f095c03893cc045e5ad66f6dce8dfb632f1811f3320a8ff147ac6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDA4OjEzN0I5NDo3MUMwRTY6OTc0NjU3OjZBNUI0RjE5IiwidmlzaXRvcl9pZCI6IjgwNjU5MTk5MDYxNzU3MzM1MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bd1924295c1b968a1b46d172756e1623b9e5c42b43545506cfeec3db9bc937a9 |
| hovercard-subject-tag | issue:1820976091 |
| 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/python/cpython/107262/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3151f1c0eda59f7061ccc7eeb86c5df45443612927a44eb721529199ebb7fb7f/python/cpython/issues/107262 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3151f1c0eda59f7061ccc7eeb86c5df45443612927a44eb721529199ebb7fb7f/python/cpython/issues/107262 |
| og:image:alt | The current output of the itemconfigure command for listbox widgets falsely suggests that the configuration of listbox items is influenced by the options database (if I understand correctly). This ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chrstphrchvz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width