[Bugs] #2314 UNSP: Python function block returns string to add block

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Sep 16 18:59:29 EDT 2010


#2314: Python function block returns string to add block
------------------------------------------+---------------------------------
    Reporter:  tonyforster                |          Owner:  walter                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by walter):

 For some reason unknown to me, importing numpy is the source of this
 problem. I am removing the import and all is well.

 Oddly, I don't know why math.log10 ever worked, since I import from math,
 but don't import math. Now that I removed the numpy import, you cannot use
 the form math.log10 any more, which is probably the behavior we want any
 way.

 Will push the patch in v99.

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


More information about the Bugs mailing list