On Feb 22, 3:48 am, Keshav Kini <[email protected]> wrote:
> On Feb 22, 3:25 pm, Keshav Kini <[email protected]> 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 tohttp://docs.python.org/release/3.1.2/whatsnew/3.0.html
> "The plan is to eventually make [PEP 3101's Advanced String
> Formatting] the only API for string formatting, and to start
> deprecating the % operator in Python 3.1".

Wow, yet another backwards-incompatibility.  This is used fairly
frequently in Sage code, and worksheets, etc., so that will take a
little work to deal with, as opposed to the print/print() issue.
Thanks for pointing this out.

- kcrisman

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to