mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
The panel module for IRIX has been deprecated for removal in 3.0.
This commit is contained in:
parent
89f5d9cc81
commit
7e37586c50
4 changed files with 9 additions and 1 deletions
|
@ -6,6 +6,9 @@
|
|||
# most 'pnl' functions are transparently exported by 'panel',
|
||||
# but dopanel() is overridden and you have to use this version
|
||||
# if you want to use callbacks.
|
||||
from warnings import warnpy3k
|
||||
warnpy3k("the panel module has been removed in Python 3.0", stacklevel=2)
|
||||
del warnpy3k
|
||||
|
||||
|
||||
import pnl
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
# most 'pnl' functions are transparently exported by 'panel',
|
||||
# but dopanel() is overridden and you have to use this version
|
||||
# if you want to use callbacks.
|
||||
from warnings import warnpy3k
|
||||
warnpy3k("the panel module has been removed in Python 3.0", stacklevel=2)
|
||||
del warnpy3k
|
||||
|
||||
|
||||
import pnl
|
||||
|
|
|
@ -135,7 +135,7 @@ class TestStdlibRemovals(unittest.TestCase):
|
|||
'cdplayer', 'CL', 'cl', 'DEVICE', 'GL',
|
||||
'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl',
|
||||
'fm', 'GET', 'GLWS', 'imgfile', 'IN',
|
||||
'IOCTL', 'jpeg'),
|
||||
'IOCTL', 'jpeg', 'panel'),
|
||||
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
|
||||
'icglue', 'Nav', 'MacOS', 'aepack',
|
||||
'aetools', 'aetypes', 'applesingle',
|
||||
|
|
|
@ -32,6 +32,8 @@ Extension Modules
|
|||
Library
|
||||
-------
|
||||
|
||||
-The panel module from IRIX has been deprecate for removal in Python 3.0.
|
||||
|
||||
- The jpeg module from IRIX has been deprecated for removal in Python 3.0.
|
||||
|
||||
- The IOCTL module from IRIX has been deprecated for removal in Python 3.0.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue