[Boost-bugs] [Boost C++ Libraries] #3661: An exceptions puzzler:

Subject: [Boost-bugs] [Boost C++ Libraries] #3661: An exceptions puzzler:
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-23 19:09:35


#3661: An exceptions puzzler:
-------------------+--------------------------------------------------------
 Reporter: troy | Owner: troy
     Type: Tasks | Status: new
Milestone: | Component: Python
  Version: | Severity: Not Applicable
 Keywords: |
-------------------+--------------------------------------------------------
 Scenario: From python I call wrapped c++ code. This c++ code calls a
 python function via a boost::python::object and attempts to extract a
 value from what is returned. This causes a throw, and the exception
 propagates back up to python. It is possible for 'stuff' to get called in
 a function like this:

 def foo():
    try:
        return
    except:
        stuff()

 I don't have all the details handy about what is happening on the C++
 side, this is a 'note to self' to investigate and document a best
 practice.

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