[issue43999] Cannot pickle frozen dataclasses with slots

2021-05-01 Thread Eric V. Smith
Change by Eric V. Smith : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue43999] Cannot pickle frozen dataclasses with slots

2021-05-01 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43999] Cannot pickle frozen dataclasses with slots

2021-05-01 Thread Eric V. Smith
Change by Eric V. Smith : -- keywords: +patch pull_requests: +24477 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25786 ___ Python tracker ___ __

[issue43999] Cannot pickle frozen dataclasses with slots

2021-05-01 Thread Eric V. Smith
New submission from Eric V. Smith : Originally reported in https://github.com/ericvsmith/dataclasses/issues/154 import pickle from dataclasses import dataclass @dataclass(frozen=True, slots=True) class ExampleDataclass: foo: str bar: int assert ExampleDataclass.__slots__ == ("foo",