Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Sep 5, 2017

  • bpo-31170: Update libexpat from 2.2.3 to 2.2.4

Fix copying of partial characters for UTF-8 input (libexpat bug 115):
libexpat/libexpat#115

  • Add NEWS entry.

(cherry picked from commit 759e30e)

https://bugs.python.org/issue31170

* bpo-31170: Update libexpat from 2.2.3 to 2.2.4

Fix copying of partial characters for UTF-8 input (libexpat bug 115):
libexpat/libexpat#115

* Add NEWS entry.

(cherry picked from commit 759e30e)
tiran
tiran previously requested changes Sep 5, 2017
Copy link
Member

@tiran tiran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Breaks Windows builds:

..\Modules\expat\xmltok.c(34): fatal error C1083: Cannot open include file: 'stdbool.h': No such file or directory [C:\projects\cpython\PCbuild\pyexpat.vcxproj]

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I didn't expect the Spanish Inquisition!. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

The standard header stdbool.h is not available
with old Visual Studio compilers

Cherry-picked from libexpat b4b89c2ab0cc5325a41360c25ef9d2ccbe617e5c.
@vstinner
Copy link
Member Author

vstinner commented Sep 5, 2017

"Breaks Windows builds: ..\Modules\expat\xmltok.c(34): fatal error C1083: Cannot open include file: 'stdbool.h': No such file or directory [C:\projects\cpython\PCbuild\pyexpat.vcxproj]"

I spent 15 minutes to write a fix for libexpat. But i was working on the 2.2.4 branch, in fact the bug is already fixed upstream: libexpat/libexpat@b4b89c2

So I cherry-picked the fix.

…pilation.

Cherry-picked from libexpat commit e0b290eb3d8f4c4b45137a7d7f4f8db812145bd2
@vstinner vstinner dismissed tiran’s stale review September 6, 2017 00:12

Yeah, tests pass on Windows (AppVeyor) :-)

@benjaminp
Copy link
Contributor

Thanks. Since this is going into 2.7.14 final, I'll deal with it.

@benjaminp
Copy link
Contributor

c00d508

@benjaminp benjaminp closed this Sep 6, 2017
@vstinner vstinner deleted the expat224_27 branch September 6, 2017 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants