[Boost-bugs] [Boost C++ Libraries] #11326: Suggested patch for boost 1.58.0 and Python 3 < 3.4 breaks build for 3.4

Subject: [Boost-bugs] [Boost C++ Libraries] #11326: Suggested patch for boost 1.58.0 and Python 3 < 3.4 breaks build for 3.4
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-20 16:00:48


#11326: Suggested patch for boost 1.58.0 and Python 3 < 3.4 breaks build for 3.4
-------------------------------------------+---------------------
 Reporter: Mika Fischer <mika.fischer@…> | Owner: rwgk
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Python
  Version: Boost 1.58.0 | Severity: Problem
 Keywords: |
-------------------------------------------+---------------------
 Both the suggested patch:
 http://www.boost.org/patches/1_58_0/0001-Fix-exec_file-for-
 Python-3-3.4.patch

 and the fix in git:
 https://github.com/boostorg/python/commit/3e405b6fd5db5615bbef241763de070118222ca7

 break the build for Python 3.4.

 The reason is that the check for Python >= 3.4 is wrong.

 It is:
 {{{
 #if PY_VERSION_HEX >= 0x03400000
 }}}
 but it should be:
 {{{
 #if PY_VERSION_HEX >= 0x03040000
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11326>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC