On Tue, Feb 22, 2011 at 7:00 AM, kcrisman <kcris...@gmail.com> wrote:
>
>
> On Feb 22, 3:48 am, Keshav Kini <keshav.k...@gmail.com> wrote:
>> On Feb 22, 3:25 pm, Keshav Kini <keshav.k...@gmail.com> 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.

Of course print/print() is very easily done programmatically, this less so.

- Robert

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

Reply via email to