On Monday, 21 March 2022 at 10:09:27 UTC-6 Andrey Novoseltsev wrote: > >> It seems like an info message rather than error and the command proceeds. >> Do you want the message to be gone, or you actually need some colors? > > I guess first I want to know why the message is printing at all. As far as I can tell, the code isn't asking for any colors. But I don't want it to be gone if there is some good reason for it to be there. Even this code asks for the colors at sagecell.sagemath.org, so maybe there is some syntax highlighting it's complaining about:
%%cython print(2+2) > >> As for using print etc, did it use to behave differently? When? >> > I think the problem is that I had it in a separate cell in the Jupyter notebook, but of course there is no such thing in the Sage cell server tool (as opposed to e.g. with linked cells as at https://more-sagemath-tutorials.readthedocs.io/en/latest/demo-cython.html). So that is probably not really a bug, but it is behavior I wasn't aware of since I ordinarily would not have put them in the same cell and only had to at sage cell.sagemath.org for the obvious reason. > I've just tried it in CoCalc Jupyter notebook - you have to have explicit print command there. I am strongly in favour of maintaining this consistency, when it results from doing nothing on SageMathCell side. Such an approach results in fewer problems down the road ;-) Indeed! -- 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/9ff66d99-0e14-4da1-a873-0ca14137ce09n%40googlegroups.com.
