#16442: Replace os.tmpfile by tempfile module
-------------------------------------------------+-------------------------
Reporter: aapitzsch | Owner:
Type: enhancement | Status: closed
Priority: major | Milestone: sage-6.4
Component: doctest framework | Resolution: fixed
Keywords: python3 | Merged in:
Authors: André Apitzsch | Reviewers: Jeroen
Report Upstream: N/A | Demeyer
Branch: | Work issues:
566156710124d51851fc9045335dada96c06396f | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Changes (by wluebbe):
* commit: 566156710124d51851fc9045335dada96c06396f =>
Old description:
> os.tmpfile() is not available in python3. Use tempfile module which
> exists in both versions.
New description:
os.tmpfile() is not available in python3. Use tempfile module which exists
in both versions.
The relevant reference in official Python documentation is
https://docs.python.org/3.0/whatsnew/3.0.html#library-changes:
//The functions os.tmpnam(), os.tempnam() and os.tmpfile() have been
removed in favor of the tempfile module.//
--
--
Ticket URL: <http://trac.sagemath.org/ticket/16442#comment:8>
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.