[issue33446] destructors of local variables are not traced

2018-05-08 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue33446] destructors of local variables are not traced

2018-05-08 Thread Xavier de Gaye
Xavier de Gaye added the comment: In both cases the destructor cannot be traced because it is invoked from functions called from [1] call_trace() where tracing is disabled: Case local variable 'a': On line 12, just before executing this line with a pdb step command, the object reference

[issue33446] destructors of local variables are not traced

2018-05-08 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +6422 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue33446] destructors of local variables are not traced

2018-05-08 Thread Xavier de Gaye
New submission from Xavier de Gaye : In the following code, the destructors of objects referenced by the 'a' and 'b' local variables are not traced by the 'step' command of pdb. 1 class C: 2 def __init__(self, name): 3 self.name = name 4 5 def __del__(self): 6 prin