Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
178582e2
Commit
178582e2
authored
May 15, 2008
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FL, flp, and fl from IRIX have been deprecated for removal in 3.0.
parent
72ccc40d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
1 deletion
+23
-1
Lib/plat-irix5/FL.py
Lib/plat-irix5/FL.py
+3
-0
Lib/plat-irix5/flp.py
Lib/plat-irix5/flp.py
+4
-0
Lib/plat-irix6/FL.py
Lib/plat-irix6/FL.py
+3
-0
Lib/plat-irix6/flp.py
Lib/plat-irix6/flp.py
+4
-0
Lib/test/test_py3kwarn.py
Lib/test/test_py3kwarn.py
+1
-1
Misc/NEWS
Misc/NEWS
+3
-0
Modules/flmodule.c
Modules/flmodule.c
+5
-0
No files found.
Lib/plat-irix5/FL.py
View file @
178582e2
...
...
@@ -2,6 +2,9 @@
# This corresponds to "forms.h".
# Recommended use: import FL; ... FL.NORMAL_BOX ... etc.
# Alternate use: from FL import *; ... NORMAL_BOX ... etc.
from
warnings
import
warnpy3k
warnpy3k
(
"the FL module has been removed in Python 3.0"
,
stacklevel
=
2
)
del
warnpy3k
_v20
=
1
_v21
=
1
...
...
Lib/plat-irix5/flp.py
View file @
178582e2
...
...
@@ -3,6 +3,10 @@
#
# Jack Jansen, December 1991
#
from
warnings
import
warnpy3k
warnpy3k
(
"the flp module has been removed in Python 3.0"
,
stacklevel
=
2
)
del
warnpy3k
import
string
import
os
import
sys
...
...
Lib/plat-irix6/FL.py
View file @
178582e2
...
...
@@ -2,6 +2,9 @@
# This corresponds to "forms.h".
# Recommended use: import FL; ... FL.NORMAL_BOX ... etc.
# Alternate use: from FL import *; ... NORMAL_BOX ... etc.
from
warnings
import
warnpy3k
warnpy3k
(
"the FL module has been removed in Python 3.0"
,
stacklevel
=
2
)
del
warnpy3k
_v20
=
1
_v21
=
1
...
...
Lib/plat-irix6/flp.py
View file @
178582e2
...
...
@@ -3,6 +3,10 @@
#
# Jack Jansen, December 1991
#
from
warnings
import
warnpy3k
warnpy3k
(
"the flp module has been removed in Python 3.0"
,
stacklevel
=
2
)
del
warnpy3k
import
os
import
sys
import
FL
...
...
Lib/test/test_py3kwarn.py
View file @
178582e2
...
...
@@ -133,7 +133,7 @@ class TestStdlibRemovals(unittest.TestCase):
'ihooks'
,
'mhlib'
)
inclusive_platforms
=
{
'irix'
:
(
'pure'
,
'AL'
,
'al'
,
'CD'
,
'cd'
,
'cddb'
,
'cdplayer'
,
'CL'
,
'cl'
,
'DEVICE'
,
'GL'
,
'gl'
,
'ERRNO'
,
'FILE'
),
'gl'
,
'ERRNO'
,
'FILE'
,
'FL'
,
'flp'
,
'fl'
),
'darwin'
:
(
'autoGIL'
,
'Carbon'
,
'OSATerminology'
,
'icglue'
,
'Nav'
,
'MacOS'
,
'aepack'
,
'aetools'
,
'aetypes'
,
'applesingle'
,
...
...
Misc/NEWS
View file @
178582e2
...
...
@@ -32,6 +32,9 @@ Extension Modules
Library
-------
- The FL, flp, and fl modules from IRIX have been deprecated for removal in
Python 3.0.
- 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.
...
...
Modules/flmodule.c
View file @
178582e2
...
...
@@ -2128,6 +2128,11 @@ static PyMethodDef forms_methods[] = {
PyMODINIT_FUNC
initfl
(
void
)
{
if
(
PyErr_WarnPy3k
(
"the fl module has been removed in "
"Python 3.0"
,
2
)
<
0
)
return
;
Py_InitModule
(
"fl"
,
forms_methods
);
if
(
m
==
NULL
)
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment