#8317: Protecting special names against assignation
-------------------------+--------------------------------------------------
Reporter: olazo | Owner: olazo
Type: defect | Status: new
Priority: minor | Milestone:
Component: symbolics | Keywords: assignation,names
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------+--------------------------------------------------
Changes (by olazo):
* component: misc => symbolics
Old description:
> I'd like to propose that certain special names should be protected so
> that they could not become variable names (for example pi, e, and i)
>
> if by accident you assign them like:
>
> e=factorial(10)
>
> and then you need to need to use e with it's standard meaning, like
>
> e^100
>
> you will have a very hard to spot error ( (factorial(10)^100).
New description:
I'd like to propose that certain special names should be protected so that
they could not become variable names (for example pi, e, and i)
if by accident you assign them like:
e=factorial(10)
and then you need to need to use e with it's standard meaning, like
e^100
this has been discussed in:
http://groups.google.com/group/sage-
support/browse_thread/thread/b391ed6bd14cdfd0
and
http://groups.google.com/group/sage-
devel/browse_thread/thread/a8e1e4ffe24840dc
you will have a very hard to spot error ( (factorial(10)^100).
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8317#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.