mirror of https://github.com/python/cpython
Deprecate IN from IRIX for removal in 3.0.
This commit is contained in:
parent
4652537ba4
commit
6328b297dc
|
@ -1,4 +1,7 @@
|
||||||
# Generated by h2py from /usr/include/netinet/in.h
|
# Generated by h2py from /usr/include/netinet/in.h
|
||||||
|
from warnings import warnpy3k
|
||||||
|
warnpy3k("the IN module has been removed in Python 3.0", stacklevel=2)
|
||||||
|
del warnpy3k
|
||||||
|
|
||||||
# Included from sys/endian.h
|
# Included from sys/endian.h
|
||||||
LITTLE_ENDIAN = 1234
|
LITTLE_ENDIAN = 1234
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
# Generated by h2py from /usr/include/netinet/in.h
|
# Generated by h2py from /usr/include/netinet/in.h
|
||||||
|
from warnings import warnpy3k
|
||||||
|
warnpy3k("the IN module has been removed in Python 3.0", stacklevel=2)
|
||||||
|
del warnpy3k
|
||||||
|
|
||||||
# Included from standards.h
|
# Included from standards.h
|
||||||
|
|
||||||
|
|
|
@ -134,7 +134,7 @@ class TestStdlibRemovals(unittest.TestCase):
|
||||||
inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd', 'cddb',
|
inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd', 'cddb',
|
||||||
'cdplayer', 'CL', 'cl', 'DEVICE', 'GL',
|
'cdplayer', 'CL', 'cl', 'DEVICE', 'GL',
|
||||||
'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl',
|
'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl',
|
||||||
'fm', 'GET', 'GLWS', 'imgfile'),
|
'fm', 'GET', 'GLWS', 'imgfile', 'IN'),
|
||||||
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
|
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
|
||||||
'icglue', 'Nav', 'MacOS', 'aepack',
|
'icglue', 'Nav', 'MacOS', 'aepack',
|
||||||
'aetools', 'aetypes', 'applesingle',
|
'aetools', 'aetypes', 'applesingle',
|
||||||
|
|
|
@ -32,6 +32,8 @@ Extension Modules
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- The IN module from IRIX has been deprecated for removal in Python 3.0.
|
||||||
|
|
||||||
- The imgfile module from IRIX has been deprecated for removal in Python 3.0.
|
- The imgfile module from IRIX has been deprecated for removal in Python 3.0.
|
||||||
|
|
||||||
- The GLWS module from IRIX has been deprecated for removal in Python 3.0.
|
- The GLWS module from IRIX has been deprecated for removal in Python 3.0.
|
||||||
|
|
Loading…
Reference in New Issue