Re: Py-Extension Irregularity

2008-03-06 Thread Michael Wieher
Ah. Well, that is true =) Still, the fact of the file-pointer shifting more than 16-increments to the right is insane. Its a simple read(&struct,16) command. but you're right, the problem might lie elsewhere. I forgot that using 0 for a sentinel value in two places can confuse a complier (let

Re: Py-Extension Irregularity

2008-03-06 Thread Gabriel Genellina
En Thu, 06 Mar 2008 13:54:44 -0200, Michael Wieher <[EMAIL PROTECTED]> escribi�: > Observe. > > Python Code Snippet: > > ... > 66 while i < (self.nPCodes): > 67# print "%s:%s" % (self.nPCodes,i) > 68 (c,l,sn,f,fn,sz) = tabmodule.getQuestion

Py-Extension Irregularity

2008-03-06 Thread Michael Wieher
Observe. Python Code Snippet: ... 66 while i < (self.nPCodes): 67# print "%s:%s" % (self.nPCodes,i) 68 (c,l,sn,f,fn,sz) = tabmodule.getQuestion(i,self.mx3Path) 69 if _debug and sz>0: 70 _newPtrLoc = tabmodule.get