Once I get everything to work under 2.6, I am using it forever or until
new releases no longer break working code, whichever comes first.
The latter ain't gonna happen. Going 2.x --> 3.x *will* break code,
and no future 3.x version will change that fact.
Cheers,
Chris
--
http://blog.rebertia.com
This was fixed in version 1.8 of Gnuplot.py
> Once I get everything to work under 2.6, I am using it
> forever or until new releases no longer break working
> code, whichever comes first.
Hey, good luck with that forever plan.
--Matt
Yeah, I know. I'm just glad I don't have to get new executables and
dll's from all my software vendors every Tuesday when the MS Window XP
updates come out.
2.6 FOREVER!
Thanks. I also had to install a new version of numpy. Have I kvetched
enough about have to track down new versions of all my third party stuff
every time I up-rev Python? I guess so. :-)
2.6 FOREVER!
I have source code that uses the "with" kwarg. What do I replace it with?
Rename the argument to something else that's not a Python keyword.
When keyword conflicts occur, appending an underscore (i.e. with_) is
a popular option, as is using a nonstandard spelling (e.g. wif)
Good old fashioned open() and close()
Roger.
I found the answer. The new kwarg in Gnuplot is "with_".
I remember seeing depreicated warnings about that _years_ ago,
and I would have sworn it's been fixed for at least a couple
years.
--
Grant
FWIW, "with" deprecation warnings exist since September 19, 2006 when
Python 2.5 was released.