bpo-41052: Fix pickling heap types implemented in C with protocols 0 and 1 (GH-22870)

9 files changed