Re: [C++-sig] Python freezing

2011-11-10 Thread Jay Riley
Well that was easy, Thanks Out of curiosity is there a reason const std::string& doesn't work? Would it just be more trouble then it's worth to support it? > To: cplusplus-sig@python.org > From: d...@boostpro.com > Date: Thu, 10 Nov 2011 22:00:44 -0500 > Subject: Re:

Re: [C++-sig] Python freezing

2011-11-10 Thread Dave Abrahams
on Thu Nov 10 2011, Jay Riley wrote: > so it seems as though string isn't in the registry? and the error > gets digested silently. This is really weird and I don't quite > understand why returning a string causing a problem. Is it because > it's returned as a const std::string&? Yep. Use a th

[C++-sig] Python freezing

2011-11-10 Thread Jay Riley
I'm doing some testing on my C++ wrappers, and I'm hitting a point where python just freezes. The debugger stops, no exception is thrown and my program stops responding. I'm not entirely sure what code to show, so if it's not enough, let me know. Here's the python code: class HealingComponent(U