Title: Tkinter: Tk 8.7 alphabetizes options in certain error messages · Issue #104497 · python/cpython · GitHub
Open Graph Title: Tkinter: Tk 8.7 alphabetizes options in certain error messages · Issue #104497 · python/cpython
X Title: Tkinter: Tk 8.7 alphabetizes options in certain error messages · Issue #104497 · python/cpython
Description: As done by e.g. https://core.tcl-lang.org/tk/info/b7db31b3a38b and causing this Tkinter test to fail: ====================================================================== FAIL: test_configure_type (test.test_tkinter.test_widgets.MenuTe...
Open Graph Description: As done by e.g. https://core.tcl-lang.org/tk/info/b7db31b3a38b and causing this Tkinter test to fail: ====================================================================== FAIL: test_configure_typ...
X Description: As done by e.g. https://core.tcl-lang.org/tk/info/b7db31b3a38b and causing this Tkinter test to fail: ====================================================================== FAIL: test_configure_typ...
Opengraph URL: https://github.com/python/cpython/issues/104497
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tkinter: Tk 8.7 alphabetizes options in certain error messages","articleBody":"As done by e.g. https://core.tcl-lang.org/tk/info/b7db31b3a38b and causing this Tkinter test to fail:\r\n\r\n```\r\n======================================================================\r\nFAIL: test_configure_type (test.test_tkinter.test_widgets.MenuTest.test_configure_type)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/Users/user/git/cpython/Lib/test/test_tkinter/test_widgets.py\", line 1403, in test_configure_type\r\n self.checkEnumParam(\r\n File \"/Users/user/git/cpython/Lib/test/test_tkinter/widget_tests.py\", line 134, in checkEnumParam\r\n self.checkInvalidParam(widget, name, 'spam', errmsg=errmsg)\r\n File \"/Users/user/git/cpython/Lib/test/test_tkinter/widget_tests.py\", line 63, in checkInvalidParam\r\n self.assertEqual(str(cm.exception), errmsg)\r\nAssertionError: 'bad type \"spam\": must be menubar, normal, or tearoff' != 'bad type \"spam\": must be normal, tearoff, or menubar'\r\n- bad type \"spam\": must be menubar, normal, or tearoff\r\n+ bad type \"spam\": must be normal, tearoff, or menubar\r\n```\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104789\n* gh-105028\n* gh-105029\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/chrstphrchvz","@type":"Person","name":"chrstphrchvz"},"datePublished":"2023-05-15T04:17:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/104497/cpython/issues/104497"}
| 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:56476464-b77a-4dc7-39d5-775061039954 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9E6:106C25:80004D:B54D9A:696A4EDD |
| html-safe-nonce | 6cfabc06329c9788e155bd341248a0d5a17bccfd745c3aca1e6fa7abf8faa8a5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUU2OjEwNkMyNTo4MDAwNEQ6QjU0RDlBOjY5NkE0RUREIiwidmlzaXRvcl9pZCI6IjIzMjk4Njk0MTQ1MTgzNzgyMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5c5af6f8d5233836c2c41df38ae839094467f20937f30712cd9279df36702e48 |
| hovercard-subject-tag | issue:1709286776 |
| 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/104497/issue_layout |
| twitter:image | https://opengraph.githubassets.com/08e70113fed2581f85582f58d6c4da57d373617fee6793f2330f3d337ce61f03/python/cpython/issues/104497 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/08e70113fed2581f85582f58d6c4da57d373617fee6793f2330f3d337ce61f03/python/cpython/issues/104497 |
| og:image:alt | As done by e.g. https://core.tcl-lang.org/tk/info/b7db31b3a38b and causing this Tkinter test to fail: ====================================================================== FAIL: test_configure_typ... |
| 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 | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width