Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-127936: convert marshal module to use import/export API for ints (PEP 757) #128530

Merged
merged 14 commits into from
Jan 23, 2025
Merged
Prev Previous commit
Next Next commit
Update Python/marshal.c
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
  • Loading branch information
vstinner and skirpichev authored Jan 23, 2025
commit 9353013e9d128c4332ee7d511ecd5f141171f5ef
1 change: 1 addition & 0 deletions Python/marshal.c
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@ _w_digits##bitsize(uint ## bitsize ## _t *digits, Py_ssize_t size, \
{ \
uint ## bitsize ## _t d; \
picnixz marked this conversation as resolved.
Show resolved Hide resolved
\
assert(size >= 1); \
for (Py_ssize_t i = 0; i < size - 1; i++) { \
vstinner marked this conversation as resolved.
Show resolved Hide resolved
d = 0; \
for (Py_ssize_t j = 0; j < marshal_ratio; j++) { \
Expand Down
Loading