#13031: Use cythonize() from cython for Sage module building.
----------------------------------------------------+-----------------------
Reporter: robertwb | Owner:
GeorgSWeber
Type: enhancement | Status:
needs_review
Priority: major | Milestone: sage-5.1
Component: build | Resolution:
Keywords: sd40.5 | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Robert Bradshaw, R. Andrew Ohana | Merged in:
Dependencies: #13029 | Stopgaps:
----------------------------------------------------+-----------------------
Comment (by jhpalmieri):
Rather than code like this:
{{{
if not os.path.exists(cache_dir):
os.mkdir(cache_dir)
}}}
you should use `sage.misc.misc.sage_makedirs` (or copy-paste the code from
there). A try-except block is safer than testing whether than the
directory exists first.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13031#comment:13>
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.