[Boost-bugs] [Boost C++ Libraries] #4701: get_override() exception set

Subject: [Boost-bugs] [Boost C++ Libraries] #4701: get_override() exception set
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-10-01 10:50:44


#4701: get_override() exception set
------------------------------------+---------------------------------------
 Reporter: trigves@… | Owner: dave
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Python
  Version: Boost 1.44.0 | Severity: Showstopper
 Keywords: get_override exception |
------------------------------------+---------------------------------------
 In base::get_override() PyObject_GetAttrString() is used to retrieve the
 attribute. But this function set exception in python if attribute is not
 found. Given patch solves it by using PyObject_HasAttrString() first and
 only if attribute exist, use PyObject_GetAttrString()

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