bpo-29176: curses: use tmpfile() for getwin/putwin by vstinner · Pull Request #237 · python/cpython
Use C function tmpfile() for curses.getwin() and curses.putwin(), instead of mkstemp() using an hardcoded /tmp path. The tmpfile() chooses the directory for the temporary file and so is more portable (especially, it works on Android). Replace also IOError with OSError: since the PEP 3151, IOError is an alias to OSError.
akruis added a commit to akruis/cpython that referenced this pull request
akruis added a commit to akruis/cpython that referenced this pull request
The 4th argument has been changed from immediate=True to pending=False a long time ago. (cherry picked from commit 12b78b0)
ahgamut pushed a commit to ahgamut/cpython that referenced this pull request
The 4th argument has been changed from immediate=True to pending=False a long time ago. (cherry picked from commit 12b78b0)
jaraco pushed a commit that referenced this pull request
jaraco added a commit to jaraco/cpython that referenced this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters