#40227: error in tempfile of python 2.7.5 ----------------------+-------------------------------- Reporter: renz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: tempfile | Port: python27 ----------------------+-------------------------------- {{{
tempfile.mktemp('.dat') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py", line 356, in mktemp dir = gettempdir() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py", line 265, in gettempdir tempdir = _get_default_tempdir() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py", line 200, in _get_default_tempdir with _io.open(fd, 'wb', closefd=False) as fp: AttributeError: 'module' object has no attribute 'open' }}}
-- Ticket URL: <https://trac.macports.org/ticket/40227> MacPorts <http://www.macports.org/> Ports system for OS X