#9724: Sage allows creation of variables with empty name
-------------------------+--------------------------------------------------
Reporter: logix | Owner: burcin
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-duplicate/invalid/wontfix
Component: symbolics | Keywords: sd31
Work_issues: | Upstream: N/A
Reviewer: | Author: Harold Gutch
Merged: | Dependencies:
-------------------------+--------------------------------------------------
Changes (by vbraun):
* keywords: variable empty name => sd31
* status: new => needs_review
* milestone: sage-4.7.1 => sage-duplicate/invalid/wontfix
Comment:
Fixed in the patch on #7496:
{{{
sage: var(' ')
---------------------------------------------------------------------------
ValueError Traceback (most recent call
last)
/home/vbraun/opt/sage-4.7.1.alpha2/devel/sage-main/<ipython console> in
<module>()
/home/vbraun/Sage/sage/local/lib/python2.6/site-
packages/sage/calculus/var.so in sage.calculus.var.var
(sage/calculus/var.c:687)()
/home/vbraun/Sage/sage/local/lib/python2.6/site-
packages/sage/symbolic/ring.so in sage.symbolic.ring.SymbolicRing.var
(sage/symbolic/ring.cpp:6276)()
/home/vbraun/Sage/sage/local/lib/python2.6/site-
packages/sage/symbolic/ring.so in sage.symbolic.ring.SymbolicRing.var
(sage/symbolic/ring.cpp:6048)()
ValueError: The name "" is not a valid Python identifier.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9724#comment:2>
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.