Thank you so much! I was using Sage 8.3.beta3. After reading your helpful comments, I went to update my Sage installation to version 9.2. That didn't solve the problem, but changing the file type from .py to .sage did!
Best, Galen On Wed, Apr 28, 2021 at 12:01 AM David Roe <roed.m...@gmail.com> wrote: > Are you writing this function in a .sage file or a .py file? The latter > won't work, since it doesn't preparse the input. > David > > On Wed, Apr 28, 2021 at 12:13 AM 'Justin C. Walker' via sage-devel < > sage-devel@googlegroups.com> wrote: > >> A few details would help: >> - what version of sage? >> - what OS/version? >> - build from source/download from sagemath.org/use package manager for >> some system? >> >> FWIW, I tried your example on sage 9.3.rc4, with no complaints (macOS >> 10.15.7). >> >> Justin >> >> > On Apr 27, 2021, at 19:48, 'Galen Dorpalen-Barry' via sage-devel < >> sage-devel@googlegroups.com> wrote: >> > >> > def error_maker(n): >> > >> > return [0..n] >> > >> > >> >> -- >> 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 view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/555D55A0-3F01-49F4-9FDB-298548D07172%40mac.com >> . >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "sage-devel" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sage-devel/nS4Ju99oqf8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CAChs6_kvYcagX7NKhnBmudUvFE_t-fK4Q_1zvB5af5eGL4GEGA%40mail.gmail.com > <https://groups.google.com/d/msgid/sage-devel/CAChs6_kvYcagX7NKhnBmudUvFE_t-fK4Q_1zvB5af5eGL4GEGA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Galen Dorpalen-Barry (she/her/hers) PhD Candidate School of Mathematics University of Minnesota -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAGAuPj9tw0XqAYeLGt0_eGc6cHJPs-RVif-YT_M7-j4V5Ni8-w%40mail.gmail.com.