[Boost-bugs] [Boost C++ Libraries] #3356: operator! does not check for errors

Subject: [Boost-bugs] [Boost C++ Libraries] #3356: operator! does not check for errors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-19 14:55:27


#3356: operator! does not check for errors
--------------------------+-------------------------------------------------
 Reporter: stefan | Owner: dave
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: Python
  Version: Boost 1.39.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 operator! (as well as the bool conversion operator) call PyObject_IsTrue,
 and convert the result to a boolean, even though the result may be an
 error (e.g., -1).

 Here is a fix.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3356>
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:01 UTC