#17308: Fix sws2rst
----------------------------+------------------------
       Reporter:  jdemeyer  |        Owner:
           Type:  defect    |       Status:  new
       Priority:  minor     |    Milestone:  sage-6.4
      Component:  scripts   |   Resolution:
       Keywords:            |    Merged in:
        Authors:            |    Reviewers:
Report Upstream:  N/A       |  Work issues:
         Branch:            |       Commit:
   Dependencies:            |     Stopgaps:
----------------------------+------------------------

Comment (by jdemeyer):

 Replying to [comment:4 kcrisman]:
 > I checked it out, and the [https://mail.python.org/pipermail/python-
 list/2008-January/482248.html sort of security implications] that using
 `os.tempnam` has is very, very unlikely to hit someone creating a
 tutorial.
 `os.tempnam` simply shouldn't be used. Why use something potentially
 dangerous if there are better alternatives?

 > Otherwise I guess we could use
 [https://docs.python.org/2/library/tempfile.html#tempfile.mkdtemp
 tempfile.mkdtemp()].
 Good!

--
Ticket URL: <http://trac.sagemath.org/ticket/17308#comment:5>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to