Deprecate WAIT for removal in 3.0.
This commit is contained in:
parent
f56b6aeb06
commit
74a596c068
|
@ -1,4 +1,8 @@
|
|||
# Generated by h2py from /usr/include/sys/wait.h
|
||||
from warnings import warnpy3k
|
||||
warnpy3k("the WAIT module has been removed in Python 3.0", stacklevel=2)
|
||||
del warnpy3k
|
||||
|
||||
_WSTOPPED = 0177
|
||||
WNOHANG = 0100
|
||||
WEXITED = 0001
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
# Generated by h2py from /usr/include/sys/wait.h
|
||||
from warnings import warnpy3k
|
||||
warnpy3k("the WAIT module has been removed in Python 3.0", stacklevel=2)
|
||||
del warnpy3k
|
||||
|
||||
# Included from standards.h
|
||||
def _W_INT(i): return (i)
|
||||
|
|
|
@ -136,7 +136,7 @@ class TestStdlibRemovals(unittest.TestCase):
|
|||
'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl',
|
||||
'fm', 'GET', 'GLWS', 'imgfile', 'IN',
|
||||
'IOCTL', 'jpeg', 'panel', 'panelparser',
|
||||
'readcd', 'SV', 'torgb'),
|
||||
'readcd', 'SV', 'torgb', 'WAIT'),
|
||||
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
|
||||
'icglue', 'Nav', 'MacOS', 'aepack',
|
||||
'aetools', 'aetypes', 'applesingle',
|
||||
|
|
Loading…
Reference in New Issue