◐ Shell
clean mode source ↗

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.

serhiy-storchaka

akruis added a commit to akruis/cpython that referenced this pull request

Apr 20, 2021
The 4th argument has been changed from immediate=True to pending=False
a long time ago.

akruis added a commit to akruis/cpython that referenced this pull request

May 27, 2021
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

Aug 25, 2021
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

Dec 2, 2022
If celery or redis is down, then we can't perform "sleep".
Heroku's web dyno times out after 30 seconds. 😥

jaraco added a commit to jaraco/cpython that referenced this pull request

Feb 17, 2023
…ersable-docs

abc: avoid abbreviations in the Traversable documentation