I think this is known, but I couldn't find the Trac ticket.

If you end a line with a question mark in the notebook, even after a #
(comment sign), the nb interprets this as a request for documentation,
ending with (potentially) amusing/destructive results.

is_prime(5) # Is this number prime?
unknown object 'prime'

or something like that.  Interestingly, one of my students noted that


is_prime(5) # Is this number prime'?'
True

works.  I guess that's not totally surprising.  Still, it's
unfortunate.  So if it isn't known, I'm reporting it.  Would it be
quite easy to fix?  (?)

- kcrisman

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

Reply via email to