[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread SilentGhost
Changes by SilentGhost : -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread Diaa Jad
Diaa Jad added the comment: I actually drop to pdb from nosetests on test failure using --pdb option. I use a Fedora 23 machine. Anyway, it looks like this issue is specific to the virtual environment we use at work that uses version 3.4.4, as I couldn't reproduce it on native 3.4 . As this bug

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread SilentGhost
SilentGhost added the comment: I cannot reproduce this issue on 3.5, do you have a chance to test this on a 3.5 or some other version of python? Also, could you provide any more details of your system? -- nosy: +SilentGhost ___ Python tracker

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread SilentGhost
Changes by SilentGhost : -- nosy: +georg.brandl type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread Diaa Jad
New submission from Diaa Jad: This code fails in the python debugger: (Pdb) z = True (Pdb) p [x for x in [1,2] if z] *** NameError: name 'z' is not defined While the same code works in the interactive shell: >>> [x for x in [1,2] if z] [1, 2] -- ___

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread Diaa Jad
Changes by Diaa Jad : -- components: +Library (Lib) -Extension Modules ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue27316] [PDB] NameError in list comprehension in PDB

2016-06-14 Thread Diaa Jad
Changes by Diaa Jad : -- components: Extension Modules nosy: Diaa Jad priority: normal severity: normal status: open title: [PDB] NameError in list comprehension in PDB type: crash versions: Python 3.4 ___ Python tracker