Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.6] bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348)#2349

Merged
vstinner merged 2 commits into
python:3.6python/cpython:3.6from
vstinner:pcbuild_expat36Copy head branch name to clipboard
Jun 23, 2017
Merged

[3.6] bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348)#2349
vstinner merged 2 commits into
python:3.6python/cpython:3.6from
vstinner:pcbuild_expat36Copy head branch name to clipboard

Conversation

@vstinner

Copy link
Copy Markdown
Member

bpo-30726, bpo-29591: libexpat 2.2.1 of Modules/expat/ now uses
a winconfig.h configuration file which already defines:

  • XML_NS
  • XML_DTD
  • BYTEORDER=1234
  • XML_CONTEXT_BYTES=1024
  • HAVE_MEMMOVE

Remove these defines from PCbuild/_elementtree.vcxproj to prevent
compiler warnings.

Co-Authored-By: Jeremy Kloth jeremy.kloth@gmail.com
(cherry picked from commit c8fb58b)

vstinner and others added 2 commits June 23, 2017 15:02
bpo-30726, bpo-29591: libexpat 2.2.1 of Modules/expat/ now uses
a winconfig.h configuration file which already defines:

* XML_NS
* XML_DTD
* BYTEORDER=1234
* XML_CONTEXT_BYTES=1024
* HAVE_MEMMOVE

Remove these defines from PCbuild/_elementtree.vcxproj to prevent
compiler warnings.

Co-Authored-By: Jeremy Kloth <jeremy.kloth@gmail.com>
(cherry picked from commit c8fb58b)
…2319)

* bpo-30726: Fix elementtree warnings on Windows

Caused by usage of `getenv` which should be safe. And a few integer
truncations which should also be ok.

* bpo-30726: Don't ignore libexpat warnings which haypo intends to fix upstream

(cherry picked from commit 87c6555)
@vstinner vstinner merged commit d32a059 into python:3.6 Jun 23, 2017
@vstinner vstinner deleted the pcbuild_expat36 branch June 23, 2017 13:21
ned-deily pushed a commit to ned-deily/cpython that referenced this pull request Jul 7, 2017
…on#2348) (python#2349)

* bpo-30726: PCbuild _elementtree: remove duplicate defines (python#2348)

bpo-30726, bpo-29591: libexpat 2.2.1 of Modules/expat/ now uses
a winconfig.h configuration file which already defines:

* XML_NS
* XML_DTD
* BYTEORDER=1234
* XML_CONTEXT_BYTES=1024
* HAVE_MEMMOVE

Remove these defines from PCbuild/_elementtree.vcxproj to prevent
compiler warnings.

Co-Authored-By: Jeremy Kloth <jeremy.kloth@gmail.com>
(cherry picked from commit c8fb58b)

* bpo-30726: Fix elementtree warnings on Windows due to expat upgrade (python#2319)

* bpo-30726: Fix elementtree warnings on Windows

Caused by usage of `getenv` which should be safe. And a few integer
truncations which should also be ok.

* bpo-30726: Don't ignore libexpat warnings which haypo intends to fix upstream

(cherry picked from commit 87c6555)
(cherry picked from commit d32a059)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.