Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2909: Wrong type signatures?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-08 08:08:19
#2909: Wrong type signatures?
---------------------------+------------------------------------------------
Reporter: bhy | Owner: dave
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: Python
Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------
Comment(by bhy):
Testcase and patch attached.
Without the patch, the test giving the following result:
{{{
Docstring say:
return_longlong() -> int :
C++ signature :
long long return_longlong()
But actually type of return value is: <type 'long'>
Docstring say:
return_wstring() -> str :
C++ signature :
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > return_wstring()
But actually type of return value is: <type 'unicode'>
}}}
Notice the "return_longlong() -> int" and "return_wstring() -> str".
With the patch, the result seems correct:
{{{
Docstring say:
return_longlong() -> long :
C++ signature :
long long return_longlong()
But actually type of return value is: <type 'long'>
Docstring say:
return_wstring() -> unicode :
C++ signature :
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > return_wstring()
But actually type of return value is: <type 'unicode'>
}}}
Also, this patch don't affect other test cases, as they are all passed. I
think it is just related to the docstring and won't touch any other
things.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2909#comment:3> 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