#10159: matplotlib: avoid race condition when creating config directory
------------------------------+---------------------------------------------
Reporter: jhpalmieri | Owner: tbd
Type: defect | Status: positive_review
Priority: major | Milestone: sage-4.6
Component: packages | Keywords: matplotlib
Author: John Palmieri | Upstream: Reported upstream. Little or no
feedback.
Reviewer: Leif Leonhardy | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Comment(by jhpalmieri):
Okay, I've fixed some more of these. I think that only the files in
src/lib/matplotlib get installed, so I haven't bothered with the other
ones. I also ignored the function "mkdirs" in cbook.py. This is only
used in sphinxext/plot_directive.py, so I don't think it should affect us.
Also, the function could perhaps just be replaced with a call to
[http://docs.python.org/library/os.html#os.makedirs os.makedirs], which is
already recursive and allows you to set the mode. Maybe the matplotlib
people are worried about the presence of ".." in the pathname? Anyway, I
don't have a good way to test any changes to that part of the code, so I'm
going to leave it alone.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10159#comment:7>
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.