[issue11916] A few errnos from OSX

Ronald Oussoren report at bugs.python.org
Sat May 7 09:37:19 CEST 2011


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

This shell-fragment lists which names in /usr/include/sys/errno don't exist in errnomodule.h:

$ grep '#define[      ]*E' /usr/include/sys/errno.h  | 
    awk '{ print $2 }' | grep -v '^ELAST$' | 
    while read name; do 
        grep -q $name Modules/errnomodule.c || echo $name; 
    done | sort

The following names in your list are already part in errnomodule.h:

* ECANCELED
* ENOTSUP

The patch looks fine otherwise. I'm currently rebuilding python3.3 and will commit the patch if everything works properly.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11916>
_______________________________________


More information about the Python-bugs-list mailing list