python-native: $ ./python3 Python 3.5.6 (default, Mar 9 2018, 12:34:56) [GCC 6.3.0 20170516] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import curses >>> curses.unget_wch() AttributeError: module 'curses' has no attribute 'unget_wch' https://docs.python.org/3/library/curses.html#curses.unget_wch My host python3 on Debian works: >>> curses.unget_wch() _curses.error: must call initscr() first https://github.com/python/cpython/blob/master/Modules/_cursesmodule.c#L1320 shows that this is dependent on finding libncursesw, but libncursesw.so.5.9 is in the sysroot. So, something in either upstream configure scripts or our numerous patches to Python, is breaking it. Or maybe Debian have a patch we need?
I can look into it, but I was also just about to start the python-sanity project... :)
A test case which tests this would be great as this keeps getting broken.
This was actually broken from the start, as one of the recipe patches forces python to build with ncurses (not the wide-char version ncursesw). Should be a simple one-liner fix: http://lists.openembedded.org/pipermail/openembedded-core/2019-January/278183.html