-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-dataclassestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
I made a typo that made it into the final code:
Lines 1211 to 1212 in 00ffdf2
if getattr(cls, '__dictrefoffset__', -1) != 0: | |
slots.append('__dict__') |
It should had been __dictoffset__
not __dictrefoffset__
.
Fixing plan:
- Add tests for C types with
__dictoffset__
, so it won't happen again :) - Fix the typo
Linked PRs
MarshalX, picnixz and Eclips4
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-dataclassestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error