On 24 May 2016 at 12:33, Frédéric Chapoton <fchapot...@gmail.com> wrote:
> Hello everybody,
>
> we are now almost ready to try to use the Python 3 print() function
> everywhere in Sage: doctests, command-line, notebook.
> This big switch is the aim of ticket http://trac.sagemath.org/ticket/20668.
> It still has to wait for an update of sagenb and for the next beta.
>
> This is an important change, that will likely break a lot of code by our
> users. So we have to discuss if we all agree to make this change right now,
> and if yes, how
> to advertise for it and to warn everybody very loud, and to what documents
> to point to help people adapt their code.
>
> I propose to add a message below the banner saying something like "WARNING:
> the behaviour of print has been changed. It is now a function: use
> print("text")"
> with a link to a webpage (on the wiki ?) explaining the reasons for the
> change and how to cope with it
>

Would it be possible for

sage: a=3
sage: print a

to work on the command line, using the preparser?  I think that would
make users a lot less annoyed.  I *only* mean on the command line and
notebook cells, not in code (*.py) files.

John

> Please express yourself on the subject.
>
> Frederic
>
>
> Le samedi 21 mai 2016 09:09:26 UTC+2, Frédéric Chapoton a écrit :
>>
>> Hello,
>>
>> concerning changing the behaviour of print to python3 style,
>>
>> There are still a few tickets needing review:
>>
>> http://trac.sagemath.org/query?status=!closed&component=python3
>>
>> Frederic
>>
>>
>> Le mardi 3 mai 2016 20:50:21 UTC+2, Frédéric Chapoton a écrit :
>>>
>>> Hello,
>>>
>>> I am trying to move toward using the python3 syntax for print.
>>>
>>> This is done by small chunks, using a lot of tiny tickets, according the
>>> folders in sage, mostly.
>>> These tickets can be found at the bottom of
>>>
>>> http://trac.sagemath.org/query?status=!closed&component=python3
>>>
>>> If some of you could find time to review one of those, that would help to
>>> advance the change.
>>>
>>> Many thanks to those that have already reviewed some of these.
>>>
>>> cheers,
>>> Frederic
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to