On Sunday, October 20, 2019 at 2:00:49 PM UTC-7, Nils Bruin wrote: > > [I think that behaviour is a bug in Python's warning machinery. It's a > silent failure to issue a warning in a case where some warning is almost > certainly desired]. >
Correcting myself on this one. Nothing is wrong in python itself. The swallowing happens because IPython filters warnings that seem the emanate from itself. We end up referencing a stack frame above the "top level", which is from an internal IPython routine. I ended up discovering that when trying to devise a meaningful doctest for the fix that is now available for review on https://trac.sagemath.org/ticket/28500. The ticket is marked "blocker", which is perhaps a little excessive for the type of issue. The fix is very easy, though. -- 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/db68056b-02bc-4f1b-9641-4f23ccdaa502%40googlegroups.com.