File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1865,6 +1865,17 @@ Porting to Python 3.12
18651865 subinterpreter that they don't support (or haven't yet been loaded in). See
18661866 :gh: `104668 ` for more info.
18671867
1868+ * :c:struct: `PyLongObject ` has had its internals changed for better performance.
1869+ Although the internals of :c:struct: `PyLongObject ` are private, they are used
1870+ by some extension modules.
1871+ The internal fields should no longer be accessed directly, instead the API
1872+ functions beginning ``PyLong_... `` should be used instead.
1873+ Two new *unstable * API functions are provided for efficient access to the
1874+ value of :c:struct: `PyLongObject `\s which fit into a single machine word:
1875+
1876+ * :c:func: `PyUnstable_Long_IsCompact `
1877+ * :c:func: `PyUnstable_Long_CompactValue `
1878+
18681879Deprecated
18691880----------
18701881
You can’t perform that action at this time.
0 commit comments