Arrrrgh! Another module broken

r0g aioe.org at technicalbloke.com
Mon Jan 18 06:57:18 CET 2010


Jive Dadson wrote:
> Matt Newville wrote:
>> On Jan 17, 7:25 pm, Jive Dadson <notonthe... at noisp.com> wrote:
>>> I just found another module that broke when I went to 2.6. >
>>> Gnuplot.  Apparently one of its routines has a parameter
>>> named "with."  That used to be okay, and now it's not.
>>
>> 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
> 
> I have source code that uses the "with" kwarg. What do I replace it with?



Good old fashioned open() and close()

Roger.



More information about the Python-list mailing list