with as a reserved word

BBands bbands at gmail.com
Mon Jun 11 11:03:16 EDT 2007


I gather that 'with' is on its way to becoming a reserved word. Is
this something that will break?

import Gnuplot
gp = Gnuplot.Gnuplot(debug=1)
data = Gnuplot.Data([1,2,3,4,3,2,3,4,3,2,1], with='linespoints')
gp.plot(data)

>>> <module1>:3: Warning: 'with' will become a reserved keyword in Python 2.6

http://www.gnuplot.info/
http://gnuplot-py.sourceforge.net/

This was run by PyScripter 1.8.7.1 with Python 2.5.

     jab




More information about the Python-list mailing list