mirror of https://github.com/python/cpython
FILE from IRIX has been deprecated for removal in 3.0.
This commit is contained in:
parent
2773b6f1c9
commit
72ccc40db5
|
@ -1,4 +1,7 @@
|
||||||
# Generated by h2py from /usr/include/sys/file.h
|
# Generated by h2py from /usr/include/sys/file.h
|
||||||
|
from warnings import warnpy3k
|
||||||
|
warnpy3k("the FILE module has been removed in Python 3.0", stacklevel=2)
|
||||||
|
del warnpy3k
|
||||||
|
|
||||||
# Included from sys/types.h
|
# Included from sys/types.h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
# Generated by h2py from /usr/include/sys/file.h
|
# Generated by h2py from /usr/include/sys/file.h
|
||||||
|
from warnings import warnpy3k
|
||||||
|
warnpy3k("the FILE module has been removed in Python 3.0", stacklevel=2)
|
||||||
|
del warnpy3k
|
||||||
|
|
||||||
# Included from standards.h
|
# Included from standards.h
|
||||||
|
|
||||||
|
|
|
@ -133,7 +133,7 @@ class TestStdlibRemovals(unittest.TestCase):
|
||||||
'ihooks', 'mhlib')
|
'ihooks', 'mhlib')
|
||||||
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'),
|
'gl', 'ERRNO', 'FILE'),
|
||||||
'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 FILE module on IRIX has been deprecated for removal in Python 3.0.
|
||||||
|
|
||||||
- The ERRNO module on IRIX has been deprecated for removal in Python 3.0.
|
- The ERRNO module on IRIX has been deprecated for removal in Python 3.0.
|
||||||
|
|
||||||
- The DEVICE, GL, gl, and cgen modules (which indirectly includes cgensupport)
|
- The DEVICE, GL, gl, and cgen modules (which indirectly includes cgensupport)
|
||||||
|
|
Loading…
Reference in New Issue