Re: Python loading library containing embedded python...

2006-01-30 Thread Brennus
"Martin v. Löwis" <[EMAIL PROTECTED]> wrote: >Brennus wrote: >> I have solved my problem, or at least part of it by downgrading >> to Visual Studio 2003. For whatever reason, the same steps applied >> to Visual Studio 2005 result in massive problems. >>

Re: Python loading library containing embedded python...

2006-01-29 Thread Brennus
>I have a dll/so which embeds python. I can verify it works by >compiling it as an executable and adding an appropriate main. > >I tried to write unit tests for this library with ctypes and a simple >python script. Access violations and other strange things result. I >suspect this is because I am

Re: Language Semantics: @ symbol??

2006-01-29 Thread Brennus
"Enigma Curry" <[EMAIL PROTECTED]> wrote: >Sorry, for the noob question, but I haven't been able to find >documentation on this matter. > >I've been looking for documentation that describes what the @function() >syntax is all about. http://www.google.com/search?q=python+decorators -- http://mail

Re: Python loading library containing embedded python...

2006-01-29 Thread Brennus
Martin v. Löwis wrote: >Brennus wrote: >> I have a dll/so which embeds python. I can verify it works by >> compiling it as an executable and adding an appropriate main. > >Please explain in more detail how you did the embedding. Did you >statically link the Python interpre

Python loading library containing embedded python...

2006-01-28 Thread Brennus
I have a dll/so which embeds python. I can verify it works by compiling it as an executable and adding an appropriate main. I tried to write unit tests for this library with ctypes and a simple python script. Access violations and other strange things result. I suspect this is because I am basica