Hi,
I have a strange behaviour of python with pdb and import statement.
Here is the example code :
file my1.py:
import my2
file my2.py:
a=5
toto
I intentionnaly put a syntax error in file my2.py.
If I run "python -i my2.py" and run pdb I got :
NameError: name 'toto' is not defined
>>> import
Timothy Grant a écrit :
On Wed, Aug 27, 2008 at 2:49 AM, Alexis Boutillier
<[EMAIL PROTECTED]> wrote:
Hi,
I have a strange behaviour of python with pdb and import statement.
Here is the example code :
file my1.py:
import my2
file my2.py:
a=5
toto
I intentionnaly put a syntax error i
Timothy Grant a écrit :
On Thu, Aug 28, 2008 at 1:40 AM, Alexis Boutillier
<[EMAIL PROTECTED]> wrote:
Timothy Grant a écrit :
On Wed, Aug 27, 2008 at 2:49 AM, Alexis Boutillier
<[EMAIL PROTECTED]> wrote:
Hi,
I have a strange behaviour of python with pdb and import statement.