reported in https://ask.sagemath.org/question/37660/why-is-sage-calling-1-a-variable/
=================== sage: x = var('x') sage: f = 1/(x-3) sage: limit(f,x=3,dir='below') --------------------------------------------------------------------------- UnboundLocalError Traceback (most recent call last) <ipython-input-9-bb86812b786f> in <module>() ----> 1 limit(f,x=Integer(3),dir='below') /Users/dcoudert/sage/local/lib/python2.7/site-packages/sage/calculus/calculus.pyc in limit(ex, dir, taylor, algorithm, **argv) 1349 1350 #return l.sage() -> 1351 return ex.parent()(l) 1352 1353 # lim is alias for limit UnboundLocalError: local variable 'l' referenced before assignment =================== A quick look at the method shows that local variable `l` (small cap `L) used in the method is not assigned when `algorithm=maxima` and `dir='below'`. The case `dir='below'` is possible when `algorithm == 'maxima_taylor'` but is not specified in the INPUT section. Some clarification is needed. -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.