Fabian Groffen <grob...@gentoo.org> added the comment: it seems errnomodule.c has no idea of ENOTSUP, and that's not the only missing one.
OSX 10.7: $ grep "^#define\sE" /usr/include/sys/errno.h | awk '{print $2}' | while read line ; do grep -q ${line} Modules/errnomodule.c || echo "missing: $line" ; done missing: ENOTSUP missing: EBADRPC missing: ERPCMISMATCH missing: EPROGUNAVAIL missing: EPROGMISMATCH missing: EPROCUNAVAIL missing: EFTYPE missing: EAUTH missing: ENEEDAUTH missing: EPWROFF missing: EDEVERR missing: EBADEXEC missing: EBADARCH missing: ESHLIBVERS missing: EBADMACHO missing: ECANCELED missing: ENOATTR missing: ENOPOLICY missing: ENOTRECOVERABLE missing: EOWNERDEAD missing: ELAST Solaris 10: $ grep "^#define\sE" /usr/include/sys/errno.h | awk '{print $2}' | while read line ; do grep -q ${line} Modules/errnomodule.c || echo "missing: $line" ; done missing: ECANCELED missing: ENOTSUP missing: EOWNERDEAD missing: ENOTRECOVERABLE missing: ELOCKUNMAPPED missing: ENOTACTIVE ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14662> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com