[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6a0a073e8461 by Benjamin Peterson in branch '3.2': SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno (closes #14612) http://hg.python.org/cpython/rev/6a0a073e8461 New changeset 0695f5d028a7 by Benjamin Peterson in branch 'def

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Peter Otten
Peter Otten <__pete...@web.de> added the comment: frame_setlineno() doesn't keep track of with blocks. Here's a patch. -- keywords: +patch nosy: +potten Added file: http://bugs.python.org/file25258/frame_setlineno.patch ___ Python tracker

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread R. David Murray
R. David Murray added the comment: For reference, here is the crash: rdmurray@hey:~/python/p33>./python -m pdb script.py > /home/rdmurray/python/p33/script.py(1)() -> with open('test') as f: (Pdb) j 3 python: Objects/frameobject.c:207: frame_setlineno: Assertion `blockstack_top > 0' failed. z

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Massimiliano Tomassoli
Changes by Massimiliano Tomassoli : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14612] Crash after modifying f_lineno

2012-04-18 Thread Massimiliano Tomassoli
New submission from Massimiliano Tomassoli : Debugging script.py and jumping to line 3 makes Python crash. For instance: python -m pdb script.py (Pdb) j 3 -- components: Interpreter Core files: script.py messages: 158603 nosy: mtomassoli priority: normal severity: normal status: open ti