Re: Running script in module initialization

2009-02-24 Thread Kom2
On 24 Ún, 15:25, "Gabriel Genellina" wrote: > En Mon, 23 Feb 2009 05:51:27 -0200, Kom2 escribió: > > > > > On 20 Ún, 16:27, Steve Holden wrote: > >> Kom2 wrote: > >> > Hello, > >> > I'm trying to convert my project from python 2.5 to python 3.0 and I > >> > have the following problem. My project

Re: Running script in module initialization

2009-02-24 Thread Gabriel Genellina
En Mon, 23 Feb 2009 05:51:27 -0200, Kom2 escribió: On 20 Ún, 16:27, Steve Holden wrote: Kom2 wrote: > Hello, > I'm trying to convert my project from python 2.5 to python 3.0 and I > have the following problem. My project is PYD library written in C++. > So I have this PyInit_ModuleName functi

Re: Running script in module initialization

2009-02-22 Thread Kom2
On 20 Ún, 16:27, Steve Holden wrote: > Kom2 wrote: > > Hello, > > I'm trying to convert my project from python 2.5 to python 3.0 and I > > have the following problem. My project is PYD library written in C++. > > So I have this PyInit_ModuleName function containing PyModule_Create > > call and thi

Re: Running script in module initialization

2009-02-20 Thread Steve Holden
Kom2 wrote: > Hello, > I'm trying to convert my project from python 2.5 to python 3.0 and I > have the following problem. My project is PYD library written in C++. > So I have this PyInit_ModuleName function containing PyModule_Create > call and this function also call some script with declarations

Running script in module initialization

2009-02-20 Thread Kom2
Hello, I'm trying to convert my project from python 2.5 to python 3.0 and I have the following problem. My project is PYD library written in C++. So I have this PyInit_ModuleName function containing PyModule_Create call and this function also call some script with declarations: PyObject* m;