[Python-Dev] SET_LINENO and python options

Vladimir Marangozov Vladimir.Marangozov@inrialpes.fr
Mon, 31 Jul 2000 01:26:12 +0200 (CEST)

Guido van Rossum wrote:
> > Hasn't backward compatibility already been broken for 2.0?  So why not
> > break it a little more?  
> Sure -- within reason.

Ok folks. I've uploaded an updated patch on SF against CVS if you want to
play with it.  IDLE, at least, seems to be happy.

I'm not sure whether something else relies on f.lineno and whether it is
now broken because of the lack of lineno updates.

(Note that you need to delete your .pyc files so that the compiler can
regenerate the code without SET_LINENO; if SET_LINENO are in the code,
you wouldn't see any difference...)

       Vladimir MARANGOZOV          | Vladimir.Marangozov@inrialpes.fr
http://sirac.inrialpes.fr/~marangoz | tel:(+33-4)76615277 fax:76615252