Title: it's no longer possible to delete items from f_locals (FrameLocalsProxy) in 3.13+ · Issue #125590 · python/cpython · GitHub
Open Graph Title: it's no longer possible to delete items from f_locals (FrameLocalsProxy) in 3.13+ · Issue #125590 · python/cpython
X Title: it's no longer possible to delete items from f_locals (FrameLocalsProxy) in 3.13+ · Issue #125590 · python/cpython
Description: Bug report Bug description: try: driver.switch_to.alert.accept() driver.switch_to.alert.dismiss() except: pass In the example script above, if the code falls into the except: pass block due to an alert not being displayed, the script wil...
Open Graph Description: Bug report Bug description: try: driver.switch_to.alert.accept() driver.switch_to.alert.dismiss() except: pass In the example script above, if the code falls into the except: pass block due to an a...
X Description: Bug report Bug description: try: driver.switch_to.alert.accept() driver.switch_to.alert.dismiss() except: pass In the example script above, if the code falls into the except: pass block due to an a...
Opengraph URL: https://github.com/python/cpython/issues/125590
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"it's no longer possible to delete items from f_locals (FrameLocalsProxy) in 3.13+","articleBody":"# Bug report\r\n\r\n### Bug description:\r\n\r\n```python\r\n try:\r\n driver.switch_to.alert.accept()\r\n driver.switch_to.alert.dismiss()\r\n except:\r\n pass\r\n```\r\nIn the example script above, if the code falls into the except: pass block due to an alert not being displayed, the script will ultimately fail (even if no coding errors are encountered) with FAILED (errors=1) .\r\nAlso, the following messages will be displayed in the output:\r\n\r\n\r\nThis code works fine in Python 3.12. The script succeeds with message OK and none of the above error messages. We can't move to 3.13 version until this is fixed.\r\n\r\n\r\n### CPython versions tested on:\r\n\r\n3.13\r\n\r\n### Operating systems tested on:\r\n\r\nWindows\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-125616\n* gh-125797\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/113908","@type":"Person","name":"113908"},"datePublished":"2024-10-16T12:58:47Z","url":"https://github.com/python/cpython/issues/125590"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:3d3284cd-0d38-cf48-9aa3-9936200ad6b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C310:19AA62:52872E8:684A570:6B027D14 |
| html-safe-nonce | 0e5f0adf85277ea66f6de3d2356ba8907a2f434449e104cf47e5221ba3d41c79 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzEwOjE5QUE2Mjo1Mjg3MkU4OjY4NEE1NzA6NkIwMjdEMTQiLCJ2aXNpdG9yX2lkIjoiNDc5NzM3NjEzOTUzNjUzMDcwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 296b9de3b183b6ee8897caf396cf433e85bf943cd498684d079a812e7692422e |
| hovercard-subject-tag | issue:2591817550 |
| 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/125590/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6fd7b12257c9d9cb9d9c6a05d1aaa69396d473f1de7804afd3c50f773f4336e4/python/cpython/issues/125590 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6fd7b12257c9d9cb9d9c6a05d1aaa69396d473f1de7804afd3c50f773f4336e4/python/cpython/issues/125590 |
| og:image:alt | Bug report Bug description: try: driver.switch_to.alert.accept() driver.switch_to.alert.dismiss() except: pass In the example script above, if the code falls into the except: pass block due to an a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 113908 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width