Bug in Python

Kiuhnm kiuhnm03.4t.yahoo.it
Tue Apr 17 21:08:08 EDT 2012


I'm using Python 3.2.2, 64 bit on Windows 7.

Consider this code:
--->
print(1)
print(2)
print(3)

with open('test') as f:
     data = f.read()
with open('test') as f:
     data = f.read()
<---
If I debug this code with
   python -m pdb script.py
and I issue the command
   j 7
Python crashes.

Kiuhnm



More information about the Python-list mailing list