#4366: [with patch, needs review] sys.path is searched ("stat"ed) for
*.pyx-files
insanely often
-------------------------+--------------------------------------------------
Reporter: GeorgSWeber | Owner: GeorgSWeber
Type: defect | Status: assigned
Priority: major | Milestone: sage-3.2
Component: coercion | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by mabshoff):
With RobertWB's patch applied I am seeing one easy to fix doctest failure:
{{{
[EMAIL PROTECTED]:/scratch/mabshoff/release-cycle/sage-3.2.alpha2$ ./sage -t
-long devel/sage/sage/structure/coerce.pyx
sage -t -long devel/sage/sage/structure/coerce.pyx
**********************************************************************
File "/scratch/mabshoff/release-cycle/sage-3.2.alpha2/tmp/coerce.py", line
331:
sage: cm.exception_stack()
Expected:
[(<type 'exceptions.TypeError'>, TypeError("no common canonical
parent for objects with parents: 'Rational Field' and 'Finite Field of
size 3'",), <traceback object at ...>)]
Got:
[(<type 'exceptions.TypeError'>, TypeError("BUG: the base_extend
method must be defined for 'Monoid of ideals of Integer Ring' (class
'<class 'sage.rings.ideal_monoid.IdealMonoid_c'>')",), <traceback object
at 0x2b75e90e8ef0>), (<type 'exceptions.TypeError'>, TypeError("no common
canonical parent for objects with parents: 'Rational Field' and 'Finite
Field of size 3'",), <traceback object at 0x2b75fd781950>)]
**********************************************************************
1 items had failures:
1 of 10 in __main__.example_9
***Test Failed*** 1 failures.
For whitespace errors, see the file /scratch/mabshoff/release-
cycle/sage-3.2.alpha2/tmp/.doctest_coerce.py
[2.9 s]
exit code: 1024
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4366#comment:12>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---