Re: [Boost-bugs] [Boost C++ Libraries] #3189: Python integer/long conversion to C++ unsigned int/long is broken

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3189: Python integer/long conversion to C++ unsigned int/long is broken
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-17 19:25:21


#3189: Python integer/long conversion to C++ unsigned int/long is broken
---------------------------------------------+------------------------------
  Reporter: anderson.lizardo@… | Owner: dave
      Type: Patches | Status: closed
 Milestone: Boost 1.40.0 | Component: Python
   Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords:
---------------------------------------------+------------------------------
Changes (by dave):

  * status: reopened => closed
  * resolution: => fixed

Comment:

 Oh, I guessthe problem is that PyLong_AsUnsignedLong returns an unsigned
 long, thus making the result of the ?: expression unsigned. Oops.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3189#comment:5>
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:00 UTC