On Thu, Mar 21, 2019 at 8:40 PM Andrey Novoseltsev <[email protected]> wrote: > > These are valid points, yet since maintaining Python2 > site/kernel/version/whatever indefinitely is impossible and sooner or later > we will have to break things, I am still not convinced that there is much > benefit in delaying it as much as possible. I am, however, quite sure that > the transition has to happen between the terms as much as possible. If Sage > itself switches in the middle, then I'll just hold the public servers for a > few months. > > It is, however, possible to warn the users somehow, e.g. we can put some > wording on the root page or even something under the output window (where we > have "Help | Powered by SageMath" at the moment). Something to encourage > people to write Python3 compatible code, be aware of the upcoming transition, > and I can look into setting up a test server that will run current Sage in > Python3 mode. > > More concrete (and actionable ;-)) ideas are very welcome, as well as pull > requests!
What if print "blah" in Sage started showing a deprecation warning as of the next release? Is there really much else besides print statements that people are likely to write in the sage cell server that is Python2 only? I can't think of anything else at all off the top of my head... I realize that much of the Python2-->Python3 switch involves handling of strings/unicode/bytes and change in the way rich comparison works. However, I bet neither of those big landmines in the sage library are used in typical applications of the sage cell server. -- William > > -- > You received this message because you are subscribed to the Google Groups > "sage-cell" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-cell/c274d897-4f3b-4fe2-9900-8ccf36b01d0b%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- William (http://wstein.org) -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/CACLE5GDK%2BAyiL_1Sg1wibX8Kk_0ebMi_jnpea5pMo92Xkc3jFQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
