Skip to content

Commit 33f15a1

Browse files
authored
bpo-40077: Convert _json module to use PyType_FromSpec() (GH-19177)
Replace statically allocated types with heap allocated types: use PyType_FromSpec(). Add a module state to store the Scanner and Encoder types. Add traverse, clear and free functions to the module.
1 parent 71a3522 commit 33f15a1

File tree

2 files changed

+131
-157
lines changed

2 files changed

+131
-157
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Convert json module to use :c:func:`PyType_FromSpec`.

0 commit comments

Comments
 (0)