Vladimir Konjkov added the comment: For _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED look this http://opengroup.org/onlinepubs/007908775/xcurses/implement.html _____________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1722225> _____________________________________