[Python-checkins] [python/cpython] 00134f: bpo-30687: Fixes build scripts to find msbuild.exe...

GitHub noreply at github.com
Sat Jul 8 00:51:38 EDT 2017


  Branch: refs/heads/3.6
  Home:   https://github.com/python/cpython
  Commit: 00134f64d982561750f57f1a0bb7bb073f9f237c
      https://github.com/python/cpython/commit/00134f64d982561750f57f1a0bb7bb073f9f237c
  Author: Steve Dower <steve.dower at microsoft.com>
  Date:   2017-07-06 (Thu, 06 Jul 2017)

  Changed paths:
    M Misc/NEWS
    M PC/bdist_wininst/bdist_wininst.vcxproj
    M PC/bdist_wininst/build.bat
    M PCbuild/build.bat
    A PCbuild/find_msbuild.bat
    M PCbuild/python.vcxproj
    M Tools/msi/build.bat
    M Tools/msi/buildrelease.bat
    M Tools/msi/uploadrelease.bat
    M Tools/nuget/build.bat

  Log Message:
  -----------
  bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat (#2252) (#2280)

* Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat
Also fixes bdist_wininst.vcxproj to use correct version in generated name.

(cherry picked from commit 06d6e3d0bb5b8a3d3105289034953a8014356a0b)


  Commit: b0fba8874a4bd6bf4773e6efdbd8fa762e9f05bd
      https://github.com/python/cpython/commit/b0fba8874a4bd6bf4773e6efdbd8fa762e9f05bd
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-07-06 (Thu, 06 Jul 2017)

  Changed paths:
    M Lib/test/test_urlparse.py
    M Lib/urllib/parse.py
    M Misc/ACKS
    M Misc/NEWS

  Log Message:
  -----------
  bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2289)

The current regex based splitting produces a wrong result. For example::

  http://abc#@def

Web browsers parse that URL as ``http://abc/#@def``, that is, the host
is ``abc``, the path is ``/``, and the fragment is ``#@def``.
(cherry picked from commit 90e01e50ef8a9e6c91f30d965563c378a4ad26de)
(cherry picked from commit 536c1f1246f4faa302f9f5613fc3444e7ae09b4a)


  Commit: ea1ab803ddc14ab02ffed50ecc5089897f259623
      https://github.com/python/cpython/commit/ea1ab803ddc14ab02ffed50ecc5089897f259623
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-07-06 (Thu, 06 Jul 2017)

  Changed paths:
    M Misc/NEWS
    M Modules/expat/COPYING
    M Modules/expat/expat.h
    M Modules/expat/expat_external.h
    A Modules/expat/siphash.h
    M Modules/expat/winconfig.h
    M Modules/expat/xmlparse.c
    M Modules/expat/xmlrole.c
    M Modules/expat/xmltok.c

  Log Message:
  -----------
  bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300) (#2313)

New file: Modules/expat/siphash.h.
(cherry picked from commit 5ff7132313eb651107b179d20218dfe5d4e47f13)
(cherry picked from commit 4a66524006852fc982aebafa277f2c043d9ad149)


  Commit: 5777e79ecbd1f2adf36456e09f210608ee221691
      https://github.com/python/cpython/commit/5777e79ecbd1f2adf36456e09f210608ee221691
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-07-06 (Thu, 06 Jul 2017)

  Changed paths:
    M PCbuild/_elementtree.vcxproj

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

* 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)
(cherry picked from commit d32a05953130fb5cc2d3c0c9fcb20ad0859353f3)


  Commit: b6012f982fabed6029d7e2db2a509a8b28b4f6e1
      https://github.com/python/cpython/commit/b6012f982fabed6029d7e2db2a509a8b28b4f6e1
  Author: Segev Finer <segev208 at gmail.com>
  Date:   2017-07-06 (Thu, 06 Jul 2017)

  Changed paths:
    M PCbuild/pyexpat.vcxproj

  Log Message:
  -----------
  [3.6] bpo-30726: Also fix pyexpat.vcxproj (GH-2375) (#2570)

(cherry picked from commit 7526cadd64566725ffc56071a7208828a46ddbd8)
(cherry picked from commit d02c8416fe1b29b3322004b73133bf6c8a2e353a)


  Commit: c794b643c9172d69afa46f85982befd82511d9df
      https://github.com/python/cpython/commit/c794b643c9172d69afa46f85982befd82511d9df
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-07-06 (Thu, 06 Jul 2017)

  Changed paths:
    M Objects/codeobject.c

  Log Message:
  -----------
  bpo-30704, bpo-30604: Fix memleak in code_dealloc() (#2455) (#2456)

Free also co_extra->ce_extras, not only co_extra.
(cherry picked from commit 23e7944eba1968bb8432fdc4cc96d4fdd2c1a230)
(cherry picked from commit 26daad4ee14693381d84a5235709d22aed1c22ed)


  Commit: a9b16cff35811f88cdfeb4f50758140dfff36ebc
      https://github.com/python/cpython/commit/a9b16cff35811f88cdfeb4f50758140dfff36ebc
  Author: Serhiy Storchaka <storchaka at gmail.com>
  Date:   2017-07-06 (Thu, 06 Jul 2017)

  Changed paths:
    M Lib/subprocess.py
    M Lib/test/test_subprocess.py
    M Misc/NEWS
    M Modules/_winapi.c
    M Objects/abstract.c

  Log Message:
  -----------
  [3.6] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325) (#2360)

Prevent passing other invalid environment variables and command arguments..
(cherry picked from commit d174d24a5d37d1516b885dc7c82f71ecd5930700)
(cherry picked from commit e7135751b8e48af80665e40ac8fa6d0073e5affe)


  Commit: d1d65015fca44b8d1f0b1df78694310270f03a6d
      https://github.com/python/cpython/commit/d1d65015fca44b8d1f0b1df78694310270f03a6d
  Author: Serhiy Storchaka <storchaka at gmail.com>
  Date:   2017-07-06 (Thu, 06 Jul 2017)

  Changed paths:
    M Modules/_winapi.c

  Log Message:
  -----------
  [3.6] bpo-30745: Fix compiler warnings introduced in bpo-30730. (GH-2376) (#2378)

(cherry picked from commit 0ee32c1)
(cherry picked from commit 0e1f9e8d3ea82262cbb9a403b70a884da5e6a6ac)


  Commit: bdabd7666032ce356d550da21c35e4bee5b3448c
      https://github.com/python/cpython/commit/bdabd7666032ce356d550da21c35e4bee5b3448c
  Author: Ned Deily <nad at python.org>
  Date:   2017-07-07 (Fri, 07 Jul 2017)

  Changed paths:
    M Modules/expat/xmlparse.c

  Log Message:
  -----------
  bpo-30797, bpo-30694: Avoid _GNU_SOURCE redefined warning in xmlparse.c (#2615)

(cherry picked from commit 05b72ede95521b2d897cb4c7b034139b5437c592)


  Commit: 891331134516784ff1c5ad8d1720fdc2d056a15f
      https://github.com/python/cpython/commit/891331134516784ff1c5ad8d1720fdc2d056a15f
  Author: Ned Deily <nad at python.org>
  Date:   2017-07-07 (Fri, 07 Jul 2017)

  Changed paths:
    M Include/patchlevel.h
    M Misc/NEWS
    M README.rst

  Log Message:
  -----------
  Version bump to 3.6.2rc2


  Commit: b79d58ec250c69cf113167b96e9c0c7bf2e29633
      https://github.com/python/cpython/commit/b79d58ec250c69cf113167b96e9c0c7bf2e29633
  Author: Ned Deily <nad at python.org>
  Date:   2017-07-08 (Sat, 08 Jul 2017)

  Log Message:
  -----------
  Merge tag 'v3.6.2rc2' into 3.6

Tag v3.6.2rc2


  Commit: 03e0df66b8ce0a8d980eb2092b7c6464d26db14e
      https://github.com/python/cpython/commit/03e0df66b8ce0a8d980eb2092b7c6464d26db14e
  Author: Ned Deily <nad at python.org>
  Date:   2017-07-08 (Sat, 08 Jul 2017)

  Changed paths:
    M Include/patchlevel.h
    M Misc/NEWS

  Log Message:
  -----------
  Update for post-3.6.2rc2


Compare: https://github.com/python/cpython/compare/552f26680d38...03e0df66b8ce


More information about the Python-checkins mailing list