|
I tested manually the change on Linux, test_pyexpat pass: |
|
Oh, the compilation of expat 2.2.1 on Windows using Visual Studio 2008 fails because of missing stdint.h header :-( https://ci.appveyor.com/project/python/cpython/build/2.7.13+.3582 |
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. Thanks again to your contribution and we look forward to looking at it! |
So, I wrote a patch, and added it for my PR. Then I wanted to send it upstream, but... upstream, they already fixed the issue in master! libexpat/libexpat@c74d380 New try: I cherry-picked this commit on top of expat 2.2.1. |
|
I tested the latest version of this PR on Windows with VS 2008 on a fresh Git repository (I ran "git clean -fdx" to remove all untracked files): the compilation succeed and test_pyexpat pass! |
(cherry picked from libexpat commit c74d380b8f0b5215153d840d2af9455d9c53b960)
|
@the-knights-who-say-ni: "Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (...)" Oh, I kept the original author of the commit in my cherry-pick: "Sebastian Pipping sebastian@pipping.org", but as expected, this libexpat contributor isn't related to Python :-/ I took the ownership of this commit, sorry Sebastian! Anyway, I already replaced the Git ownership of all files in Modules/expat/ :-) |
New file: Modules/expat/siphash.h.
(cherry picked from commit 5ff7132)