mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Deprecate GET from IRIX for removal in 3.0.
This commit is contained in:
parent
75ba465099
commit
82bd94e651
4 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
||||||
# Symbols from <gl/get.h>
|
# Symbols from <gl/get.h>
|
||||||
|
from warnings import warnpy3k
|
||||||
|
warnpy3k("the GET module has been removed in Python 3.0", stacklevel=2)
|
||||||
|
del warnpy3k
|
||||||
|
|
||||||
BCKBUFFER = 0x1
|
BCKBUFFER = 0x1
|
||||||
FRNTBUFFER = 0x2
|
FRNTBUFFER = 0x2
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
# Symbols from <gl/get.h>
|
# Symbols from <gl/get.h>
|
||||||
|
from warnings import warnpy3k
|
||||||
|
warnpy3k("the GET module has been removed in Python 3.0", stacklevel=2)
|
||||||
|
del warnpy3k
|
||||||
|
|
||||||
BCKBUFFER = 0x1
|
BCKBUFFER = 0x1
|
||||||
FRNTBUFFER = 0x2
|
FRNTBUFFER = 0x2
|
||||||
|
|
|
@ -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'),
|
'fm', 'GET'),
|
||||||
'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 GET module from IRIX has been deprecate for removal in Python 3.0.
|
||||||
|
|
||||||
- The fm module from IRIX has been deprecated for removal in Python 3.0.
|
- The fm module from IRIX has been deprecated for removal in Python 3.0.
|
||||||
|
|
||||||
- The FL, flp, and fl modules from IRIX have been deprecated for removal in
|
- The FL, flp, and fl modules from IRIX have been deprecated for removal in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue