-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed as not planned
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
vars(dict())raises the exception:
vars() argument must have __dict__ attribute
I would assume this fix to be quite affordable by returning itself. It could potentially create infinite loops but I think breaking vars() call is even worse as it should not assume any type.
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Metadata
Metadata
Assignees
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error