Problem with long strings in the Boost.Python getting_started2 sample ?
Sylvain MARIE
noemailplease at gmail.com
Fri Sep 30 06:53:53 EDT 2005
Well, answering my own question here...
See http://mail.python.org/pipermail/c++-sig/2002-November/002415.html
8-)
Sylvain
"Sylvain MARIE" <noemailplease at gmail.com> a écrit dans le message de news:
433bf7d6$0$307$7a628cd7 at news.club-internet.fr...
> Hi all,
>
> I am discovering Boost.Python, and weird exceptions in my dummy extension
> modules lead me to think there is a potential problem with the
> getting_started2 sample :
> if you replace the first lines
>
>>>> hi = hello('California')
>>>> hi.greet()
> 'Hello from California'
>
> by
>>>> hi = hello('A longer name with more than 15 chars')
>>>> hi.greet()
> 'Hello from A longer name with more than 15 chars'
>
> then the unit test asserts !?!? I get a c++ exception :-(
>
> Please tell me we can use strings longer than 15 chars with Boost.Python
> :-)
> (I'm using Boost 1.33.0 with VC7.1, and the bjam makefiles)
>
> thank you very much in advance!
> Sylvain
>
More information about the Python-list
mailing list