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:23:13


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

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

Comment:

 Replying to [comment:3 rwgk]:
> Patches applied as svn revisions 54919 and 54923.
> Anderson, thank you very much, especially for the comprehensive tests!

 Ralf, to me this looks like an incorrect bug report. numeric_cast<T>
 where T is an unsigned type is supposed to throw a bad_numeric_cast if the
 argument is negative. Did you verify that the supplied tests fail before
 applying the patch?

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