SystemError: com_backpatch: offset too large

Steve Holden steve at holdenweb.com
Sun Nov 7 18:13:12 EST 2004


alban.minassian at wanadoo.fr wrote:

>>It might help if we had some idea what the code looked like around line 
>>5139, and if we knew the size of the data concerned, for example.
> 
> 
> Line 5138 : var += "AAA"+"XXXXXX"+"BBB"  # <----- OK 
> Line 5139 : var += "AAA"+"XXXXXX"+"BBB" # <---- !!! --->
> com_backpatch: offset too large
> 
> If i replace, line 5139, by 'print 'hello python' : --->
> com_backpatch: offset too large
> 
> len(var)--> 583
> 
> 
> Alban

Sounds like your module is simply too big. Could you split it up into 
several modules instead, calling each in turn?

regards
  STeve
-- 
http://www.holdenweb.com
http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119



More information about the Python-list mailing list