Matthias Klose added the comment:

the upstream ncurses has the ncursesw subdirinclude name, so you apparently can 
assume that this directory name is fixed *iff* it exists, however the ncursesw 
installation can be found in <prefix>/include instead.  Can your changes cope 
with that?

second issue is that you apparently don't do the changes for term.h (and 
possibly for other headers in other places as well, I only looked at the diff), 
so you mix ncursesw and ncurses headers. So you have to make these changes in 
all other places as well.

Third issue is that you can't make these changes for third party extensions, if 
there are any relying on the ncurses/ncursesw distinction.

fyi, "all" ncursesw headers are:

/usr/include/ncursesw/curses.h
/usr/include/ncursesw/cursesapp.h
/usr/include/ncursesw/cursesf.h
/usr/include/ncursesw/cursesm.h
/usr/include/ncursesw/cursesp.h
/usr/include/ncursesw/cursesw.h
/usr/include/ncursesw/cursslk.h
/usr/include/ncursesw/eti.h
/usr/include/ncursesw/etip.h
/usr/include/ncursesw/form.h
/usr/include/ncursesw/menu.h
/usr/include/ncursesw/nc_tparm.h
/usr/include/ncursesw/ncurses_dll.h
/usr/include/ncursesw/panel.h
/usr/include/ncursesw/term.h
/usr/include/ncursesw/term_entry.h
/usr/include/ncursesw/termcap.h
/usr/include/ncursesw/tic.h
/usr/include/ncursesw/unctrl.h

----------

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

Reply via email to