[Python-checkins] [python/cpython] f42ce1: [3.5] bpo-30726: PCbuild _elementtree: remove dupl...

GitHub noreply at github.com
Fri Jun 23 09:14:19 EDT 2017


  Branch: refs/heads/3.5
  Home:   https://github.com/python/cpython
  Commit: f42ce179c8aaa7e211ac4123c58fa3dd9a452004
      https://github.com/python/cpython/commit/f42ce179c8aaa7e211ac4123c58fa3dd9a452004
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-06-23 (Fri, 23 Jun 2017)

  Changed paths:
    M PCbuild/_elementtree.vcxproj

  Log Message:
  -----------
  [3.5] bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348) (#2350)

* bpo-30726: PCbuild _elementtree: remove duplicate defines (#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 at gmail.com>
(cherry picked from commit c8fb58bd7917151e63398587a7fc2126db7c26de)

* bpo-30726: Fix elementtree warnings on Windows due to expat upgrade (#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 87c65550730a8f85ce339ba197bce4fb7e836619)




More information about the Python-checkins mailing list