Deprecate ERRNO for removal in 3.0.
This commit is contained in:
parent
044616aa24
commit
2773b6f1c9
|
@ -1,4 +1,7 @@
|
|||
# Generated by h2py from /usr/include/errno.h
|
||||
from warnings import warnpy3k
|
||||
warnpy3k("the ERRNO module has been removed in Python 3.0", stacklevel=2)
|
||||
del warnpy3k
|
||||
|
||||
# Included from sys/errno.h
|
||||
__KBASE = 1000
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
# Generated by h2py from /usr/include/errno.h
|
||||
from warnings import warnpy3k
|
||||
warnpy3k("the ERRNO module has been removed in Python 3.0", stacklevel=2)
|
||||
del warnpy3k
|
||||
|
||||
# Included from sys/errno.h
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@ class TestStdlibRemovals(unittest.TestCase):
|
|||
'ihooks', 'mhlib')
|
||||
inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd', 'cddb',
|
||||
'cdplayer', 'CL', 'cl', 'DEVICE', 'GL',
|
||||
'gl'),
|
||||
'gl', 'ERRNO'),
|
||||
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
|
||||
'icglue', 'Nav', 'MacOS', 'aepack',
|
||||
'aetools', 'aetypes', 'applesingle',
|
||||
|
|
Loading…
Reference in New Issue