> From: Dave Abrahams
> To: boost-us...@lists.boost.org
> Cc: cplusplus-sig@python.org
> Sent: Tuesday, February 28, 2012 10:06 PM
> Subject: Re: [Boost-users] boost python & context manager/with statement
>
>
> on Sun Feb 12 2012, Avi Bahra wrote:
>
>> Does boost python support context mana
The declaration
BOOST_PYTHON_DECL void throw_error_already_set();
should maybe be changed to
BOOST_PYTHON_DECL BOOST_ATTRIBUTE_NORETURN void
throw_error_already_set();
This will help eliminate warnings on some compilers,
and will save people the trouble of writing code like
int f()