Title: Regression in tricky __dict__ use. · Issue #117838 · python/cpython · GitHub
Open Graph Title: Regression in tricky __dict__ use. · Issue #117838 · python/cpython
X Title: Regression in tricky __dict__ use. · Issue #117838 · python/cpython
Description: Bug report Bug description: I noticed a regression in Python 3.13.0 alpha 6. Django LazySettings started to crash because _wrapper is no longer set to the empty sentinel. I bisected this regression to the c32dc47, so it's related with th...
Open Graph Description: Bug report Bug description: I noticed a regression in Python 3.13.0 alpha 6. Django LazySettings started to crash because _wrapper is no longer set to the empty sentinel. I bisected this regression...
X Description: Bug report Bug description: I noticed a regression in Python 3.13.0 alpha 6. Django LazySettings started to crash because _wrapper is no longer set to the empty sentinel. I bisected this regression...
Opengraph URL: https://github.com/python/cpython/issues/117838
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regression in tricky __dict__ use.","articleBody":"# Bug report\n\n### Bug description:\n\nI noticed a regression in Python 3.13.0 alpha 6. Django [`LazySettings`](https://github.com/django/django/blob/42bc81b1b6471c4fe364bc32b9dec180908e577e/django/conf/__init__.py#L45) started to [crash](https://github.com/django/django/actions/runs/8670508480/job/23778598639) because `_wrapper` is no longer set to the [`empty`](https://github.com/django/django/blob/42bc81b1b6471c4fe364bc32b9dec180908e577e/django/utils/functional.py#L245) sentinel. I bisected this regression to the c32dc47aca6e8fac152699bc613e015c44ccdba9, so it's related with the recent changes in `__dict__`.\n\nDjango's `LazySettings` and `LazyObject` are quite tricky. I will try to provide a small reproducer later.\n\n### CPython versions tested on:\n\n3.13\n\n### Operating systems tested on:\n\nLinux","author":{"url":"https://github.com/felixxm","@type":"Person","name":"felixxm"},"datePublished":"2024-04-13T08:13:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/117838/cpython/issues/117838"}
| 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:b5b78608-7ebc-4390-ea72-0eaed49fbc3d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 827E:47423:19DCF77:232E9FA:6A4F30E3 |
| html-safe-nonce | 4e9e36be68d3cd68af9aca0927c7f4d776986c3f84e528af39ce68788ce31120 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjdFOjQ3NDIzOjE5RENGNzc6MjMyRTlGQTo2QTRGMzBFMyIsInZpc2l0b3JfaWQiOiIzOTc2Mzc2MzYwNDU3MTU0Nzg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9a30edc603f61a51405542492f1d8ee559634ec08797036ab4a16e8a79dd1e51 |
| hovercard-subject-tag | issue:2241422688 |
| 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/117838/issue_layout |
| twitter:image | https://opengraph.githubassets.com/356c9dc02f0aab2095ce41d5130e1c4d978d382119aa67c69152972f3cbd9092/python/cpython/issues/117838 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/356c9dc02f0aab2095ce41d5130e1c4d978d382119aa67c69152972f3cbd9092/python/cpython/issues/117838 |
| og:image:alt | Bug report Bug description: I noticed a regression in Python 3.13.0 alpha 6. Django LazySettings started to crash because _wrapper is no longer set to the empty sentinel. I bisected this regression... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | felixxm |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width