Re: [Python-Dev] Fix for frame_setlineno() in frameobject.c function

2008-12-05 Thread Benjamin Peterson
Hi, Please post this on the issue tracker. http://bugs.python.org On Fri, Dec 5, 2008 at 4:42 AM, <[EMAIL PROTECTED]> wrote: > Hello, > > This concerns a known bug in the frame_setlineno() function for Python > 2.5.x and 2.6.x (maybe in earlier version too). It is not possible to use > this funct

[Python-Dev] Fix for frame_setlineno() in frameobject.c function

2008-12-05 Thread Fabien . Bouleau
Hello, This concerns a known bug in the frame_setlineno() function for Python 2.5.x and 2.6.x (maybe in earlier version too). It is not possible to use this function when the address or line offset are greater than 127. The problem comes from the lnotab variable which is typed char*, therefore