Skip to content

Regression in tricky __dict__ use. #117838

Closed
@felixxm

Description

@felixxm

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 the recent changes in __dict__.

Django's LazySettings and LazyObject are quite tricky. I will try to provide a small reproducer later.

CPython versions tested on:

3.13

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)release-blockertype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions