A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/350284.html below:

Problem with long strings in the Boost.Python getting_started2 sample ?

Problem with long strings in the Boost.Python getting_started2 sample ? Problem with long strings in the Boost.Python getting_started2 sample ?Sylvain MARIE noemailplease at gmail.com
Thu Sep 29 10:19:19 EDT 2005
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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4