Thanks, Nils. I've found another "great" example:
class 0:
def 0(0):
return 0
On Fri, Jun 24, 2011 at 7:53 PM, Nils Bruin wrote:
> This is now http://trac.sagemath.org/sage_trac/ticket/11542
> There are some ideas there on how to fix this.
>
> --
> To post to this group, send an e
This is now http://trac.sagemath.org/sage_trac/ticket/11542
There are some ideas there on how to fix this.
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this
On Jun 24, 5:43 pm, kcrisman wrote:
> You may want to see ifhttp://trac.sagemath.org/sage_trac/ticket/7496
> affects this, or whether it at least gives an idea of what to do.
> preparse_file versus preparse was an interesting distinction I wasn't
> previously aware of.
Thanks! implicit symbolic
On Jun 24, 5:19 pm, Nils Bruin wrote:
> On Jun 24, 1:25 pm, Tom Boothby wrote:
>
> > This is exceptionally strange:
>
> > sage: def x(a,1):
> > sage: return a+1
> > sage: print x(1,5)
> > 6
>
> > In my opinion, that's a bug, as is
>
> > sage: def y(a,b=1):
> > sage: return a+b
> > sage:
On Jun 24, 1:25 pm, Tom Boothby wrote:
> This is exceptionally strange:
>
> sage: def x(a,1):
> sage: return a+1
> sage: print x(1,5)
> 6
>
> In my opinion, that's a bug, as is
>
> sage: def y(a,b=1):
> sage: return a+b
> sage: 1=5
> sage: y(1)
> 6
It's even stranger because on the command