]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39943: Clean up marshal.c. (GH-19236)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 31 Mar 2020 20:23:21 +0000 (23:23 +0300)
committerGitHub <noreply@github.com>
Tue, 31 Mar 2020 20:23:21 +0000 (23:23 +0300)
commit2c003eff8fef430f1876adf88e466bcfcbd0cc9e
tree0ad5573133b047f12b3cfe26f4c3b9589011ab26
parenta9f9687a7ce25e7c0c89f88f52db323104668ae0
bpo-39943: Clean up marshal.c. (GH-19236)

* Add consts.
* Remove redundant casts and checks.
* Use concrete C API macros.
* Avoid raising and silencing OverflowError for ints.
Python/marshal.c