mirror of
https://github.com/python/cpython.git
synced 2025-09-13 12:17:24 +00:00
Deprecated 'fm' for removal in 3.0.
This commit is contained in:
parent
178582e2a4
commit
75ba465099
3 changed files with 9 additions and 1 deletions
|
@ -133,7 +133,8 @@ class TestStdlibRemovals(unittest.TestCase):
|
|||
'ihooks', 'mhlib')
|
||||
inclusive_platforms = {'irix' : ('pure', 'AL', 'al', 'CD', 'cd', 'cddb',
|
||||
'cdplayer', 'CL', 'cl', 'DEVICE', 'GL',
|
||||
'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl'),
|
||||
'gl', 'ERRNO', 'FILE', 'FL', 'flp', 'fl',
|
||||
'fm'),
|
||||
'darwin' : ('autoGIL', 'Carbon', 'OSATerminology',
|
||||
'icglue', 'Nav', 'MacOS', 'aepack',
|
||||
'aetools', 'aetypes', 'applesingle',
|
||||
|
|
|
@ -32,6 +32,8 @@ Extension Modules
|
|||
Library
|
||||
-------
|
||||
|
||||
- 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
|
||||
Python 3.0.
|
||||
|
||||
|
|
|
@ -257,6 +257,11 @@ static PyMethodDef fm_methods[] = {
|
|||
void
|
||||
initfm(void)
|
||||
{
|
||||
|
||||
if (PyErr_WarnPy3k("the fm module has been removed in "
|
||||
"Python 3.0", 2) < 0)
|
||||
return;
|
||||
|
||||
Py_InitModule("fm", fm_methods);
|
||||
if (m == NULL)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue