[Bugs] #2537 UNSP: Calculate doesn't accept ", " as a decimal separator when set to Spanish locale

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Jan 1 17:08:42 EST 2011


#2537: Calculate doesn't accept "," as a decimal separator when set to Spanish
locale
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  rwh                        
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Calculate                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Status_field:  Unconfirmed                |   Distribution:  Unspecified                
   Seeta_dev:                             |  
------------------------------------------+---------------------------------

Comment(by walter):

 Well, I was wrong about Python 2.7

 The newly attached patch seems to do the trick in Gary's test cases, with
 the exception of the factorial example, which I think fails for unrelated
 reasons (factorial requires a int input).

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


More information about the Bugs mailing list