#11900: Serious regression caused by #9138
-------------------------------------------------------------+--------------
   Reporter:  SimonKing                                      |          Owner:  
tbd                         
       Type:  defect                                         |         Status:  
needs_work                  
   Priority:  critical                                       |      Milestone:  
sage-5.0                    
  Component:  performance                                    |       Keywords:  
categories regression       
Work_issues:                                                 |       Upstream:  
N/A                         
   Reviewer:  Jeroen Demeyer, Nicolas M. ThiƩry, Simon King  |         Author:  
Simon King                  
     Merged:                                                 |   Dependencies:  
#11319, #9138, #11911, #9562
-------------------------------------------------------------+--------------

Comment(by SimonKing):

 Aha! That's how an influence of the operating system is possible:
 {{{
 sage: Sets.__classcall__
 ---------------------------------------------------------------------------
 OverflowError                             Traceback (most recent call
 last)

 /scratch/sking/sage-5.0.prealpha1/local/bin/<ipython console> in
 <module>()

 /scratch/sking/sage-5.0.prealpha1/local/lib/python2.7/site-
 packages/sage/misc/lazy_attribute.pyc in __get__(self, _, cls)
     647             1
     648         """
 --> 649         result = self.f(cls)
     650         if result is NotImplemented:
     651             return getattr(super(cls, cls),self.f.__name__)

 /scratch/sking/sage-5.0.prealpha1/local/lib/python2.7/site-
 packages/sage/categories/category_singleton.so in
 sage.categories.category_singleton.Category_singleton.__classcall__
 (sage/categories/category_singleton.c:1453)()

 OverflowError: value too large to convert to int
 }}}

 In other words, lazy class attribute does not work on OS X!

 Jeroen, you said that sage works on OS X with #9138. Do you mean that all
 tests pass? Including tests for lazy_class_attribute (I hope there are
 some tests)?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11900#comment:228>
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.

Reply via email to