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 py

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 contain

Running script in module initialization

2009-02-20 Thread Kom2
rMoveType: First = 0 Last = 1 Next = 2 Previous = 3 Bookmark = 4 NewRecord = 5 In Python 2.5 everything works fine, now in python3.0 PyRun_StringFlags returns NULL and I get error "__build_class__ not found". Can anybody tell mi please, what is wrong?