[issue7238] frame.f_lineno doesn't get updated after local trace function assigned to it

2022-01-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: needs patch -> resolved status: pending -> closed ___ Python tracker ___ _

[issue7238] frame.f_lineno doesn't get updated after local trace function assigned to it

2022-01-10 Thread Irit Katriel
Irit Katriel added the comment: I am unable to reproduce this on 3.11, I get this: iritkatriel@Irits-MBP cpython % ./python.exe tracer_testcase.py 14 15 16 14 15 16 I am also unable to reproduce the problem in the related issue 16482. -- nosy: +iritkatriel status: open -> pending

[issue7238] frame.f_lineno doesn't get updated after local trace function assigned to it

2013-02-25 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue7238] frame.f_lineno doesn't get updated after local trace function assigned to it

2012-11-19 Thread Xavier de Gaye
Xavier de Gaye added the comment: See also the related issue 16482. -- nosy: +xdegaye ___ Python tracker ___ ___ Python-bugs-list maili

[issue7238] frame.f_lineno doesn't get updated after local trace function assigned to it

2011-11-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ncoghlan versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7238] frame.f_lineno doesn't get updated after local trace function assigned to it

2010-11-24 Thread Ray.Allen
Ray.Allen added the comment: It's not a bug. What happens is like this: 1, You set trace function using sys.settrace(tracer). 2, When the following func() is called, tracer is called with a "call" event, so the trace function in PyThreadState is set to NULL since "sys.settrace(None)" is execu

[issue7238] frame.f_lineno doesn't get updated after local trace function assigned to it

2010-07-11 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: -> needs patch versions: -Python 2.4, Python 2.5, Python 2.6, Python 3.0 ___ Python tracker ___

[issue7238] frame.f_lineno doesn't get updated after local trace function assigned to it

2009-10-29 Thread Mark Florisson
New submission from Mark Florisson : As you can see, when a local trace function sets f_lineno, f_lineno doesn't get updated on subsequent lines. Otherwise it works fine. $ python tracer_testcase.py