Re: [sage-devel] Re: Python Performance Guide

2011-02-22 Thread Robert Bradshaw
On Tue, Feb 22, 2011 at 7:00 AM, kcrisman wrote: > > > On Feb 22, 3:48 am, Keshav Kini wrote: >> On Feb 22, 3:25 pm, Keshav Kini wrote: >> >> > For example the construction >> >> > "stuff %s stuff" % dictionary >> >> > is deprecated and in fact does not even work in Python 3. >> >> Oops - sorry,

[sage-devel] Re: Python Performance Guide

2011-02-22 Thread kcrisman
On Feb 22, 3:48 am, Keshav Kini wrote: > On Feb 22, 3:25 pm, Keshav Kini wrote: > > > For example the construction > > > "stuff %s stuff" % dictionary > > > is deprecated and in fact does not even work in Python 3. > > Oops - sorry, this is wrong. It still works in Python 3.1, but > according t

[sage-devel] Re: Python Performance Guide

2011-02-22 Thread Keshav Kini
On Feb 22, 3:25 pm, Keshav Kini wrote: > For example the construction > > "stuff %s stuff" % dictionary > > is deprecated and in fact does not even work in Python 3. Oops - sorry, this is wrong. It still works in Python 3.1, but according to http://docs.python.org/release/3.1.2/whatsnew/3.0.html

[sage-devel] Re: Python Performance Guide

2011-02-21 Thread Keshav Kini
On Feb 22, 12:45 pm, Eviatar wrote: > For some reason I cannot post on the other topic, so I made another > one. This way it will also be more visible. > > Some people were wondering about where to use imports for maximum > efficiency, how to do lazy imports, etc. I found this guide that has > all