Xavier de Gaye added the comment:

The test suite runner in the test.libregrtest.main module calls 
tempfile.gettempdir() and mkstemp_curses.patch uses the same logic to fix the 
problem on Android where the tests that I run use TMPDIR=/data/local/tmp on 
Android API 24.

As a side note, when the curses library is ncurses-6.0, the library must be 
patched in ncurses/base/lib_screen.c with the attached ncurses.patch, see:
    http://lists.gnu.org/archive/html/bug-ncurses/2016-05/msg00000.html
    https://bugs.python.org/issue27323

----------
Added file: http://bugs.python.org/file46267/mkstemp_curses.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29176>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to