Kaydet (Commit) 2773b6f1 authored tarafından Brett Cannon's avatar Brett Cannon

Deprecate ERRNO for removal in 3.0.

üst 044616aa
# Generated by h2py from /usr/include/errno.h # 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 # Included from sys/errno.h
__KBASE = 1000 __KBASE = 1000
......
# Generated by h2py from /usr/include/errno.h # 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 # Included from sys/errno.h
......
...@@ -133,7 +133,7 @@ class TestStdlibRemovals(unittest.TestCase): ...@@ -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'), 'gl', 'ERRNO'),
'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 ...@@ -32,6 +32,8 @@ Extension Modules
Library Library
------- -------
- 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)
have been deprecated for removal in Python 3.0. have been deprecated for removal in Python 3.0.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment