[issue41052] Opt out serialization/deserialization for heap type

Dong-hee Na report at bugs.python.org
Sat Jun 20 09:17:30 EDT 2020


New submission from Dong-hee Na <donghee.na92 at gmail.com>:

See https://bugs.python.org/issue40077#msg371813

We noticed that heap type has different behavior about serialization/deserialization.

Basically it can occur the regression issues.

Two things needed.
1. opt out serialization/deserialization for converted modules.
2. Add unit tests to check whether their serialization is blocked.
3. If the module is already ported to 3.9 backport patch is needed.
Long term
- Add the object.reduce() and/or update pickle can be smarter

----------
components: C API
messages: 371937
nosy: corona10, vstinner
priority: normal
severity: normal
status: open
title: Opt out serialization/deserialization for heap type
type: behavior
versions: Python 3.10, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41052>
_______________________________________


More information about the Python-bugs-list mailing list