testo py 39 Warning with will become reserved keyword in Python testo

1
2
3
4
5
6
testo.py:39: Warning: 'with' will become a reserved keyword in Python 2.6
testo.py:40: Warning: 'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
File "testo.py", line 42, in <module>
Gnuplot.Gnuplot.plot(p_data[0][0], p_data[0][1], p_data[1][0], p_data[1][1], p_data[2][0], p_data[2][1], p_data[3][0], p_data[3][1])
TypeError: unbound method plot() must be called with Gnuplot instance as first argument (got _NewFileItem instance instead)