[Bugs] #2698 UNSP: Calculate allows default variables to be redefined

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Mar 20 22:21:01 EDT 2012


#2698: Calculate allows default variables to be redefined
------------------------------------------+---------------------------------
    Reporter:  greenfeld                  |          Owner:  rwh                        
        Type:  enhancement                |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Calculate                  |        Version:  0.92.x                     
    Severity:  Minor                      |       Keywords:  easy-hack                  
Distribution:  OLPC                       |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
Changes (by humitos):

 * cc: manuq (added)


Comment:

 I think this shouldn't be allowed. Calculate should check the name of the
 variable and don't allow to change "e", "pi", etc as you mentioned.

 What should happen? Show an error message? How?

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2698#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list