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
6328b297
Commit
6328b297
authored
16 years ago
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deprecate IN from IRIX for removal in 3.0.
parent
4652537b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletion
+9
-1
Lib/plat-irix5/IN.py
Lib/plat-irix5/IN.py
+3
-0
Lib/plat-irix6/IN.py
Lib/plat-irix6/IN.py
+3
-0
Lib/test/test_py3kwarn.py
Lib/test/test_py3kwarn.py
+1
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/plat-irix5/IN.py
View file @
6328b297
# Generated by h2py from /usr/include/netinet/in.h
from
warnings
import
warnpy3k
warnpy3k
(
"the IN module has been removed in Python 3.0"
,
stacklevel
=
2
)
del
warnpy3k
# Included from sys/endian.h
LITTLE_ENDIAN
=
1234
...
...
This diff is collapsed.
Click to expand it.
Lib/plat-irix6/IN.py
View file @
6328b297
# Generated by h2py from /usr/include/netinet/in.h
from
warnings
import
warnpy3k
warnpy3k
(
"the IN module has been removed in Python 3.0"
,
stacklevel
=
2
)
del
warnpy3k
# Included from standards.h
...
...
This diff is collapsed.
Click to expand it.
Lib/test/test_py3kwarn.py
View file @
6328b297
...
...
@@ -134,7 +134,7 @@ class TestStdlibRemovals(unittest.TestCase):
inclusive_platforms
=
{
'irix'
:
(
'pure'
,
'AL'
,
'al'
,
'CD'
,
'cd'
,
'cddb'
,
'cdplayer'
,
'CL'
,
'cl'
,
'DEVICE'
,
'GL'
,
'gl'
,
'ERRNO'
,
'FILE'
,
'FL'
,
'flp'
,
'fl'
,
'fm'
,
'GET'
,
'GLWS'
,
'imgfile'
),
'fm'
,
'GET'
,
'GLWS'
,
'imgfile'
,
'IN'
),
'darwin'
:
(
'autoGIL'
,
'Carbon'
,
'OSATerminology'
,
'icglue'
,
'Nav'
,
'MacOS'
,
'aepack'
,
'aetools'
,
'aetypes'
,
'applesingle'
,
...
...
This diff is collapsed.
Click to expand it.
Misc/NEWS
View file @
6328b297
...
...
@@ -32,6 +32,8 @@ Extension Modules
Library
-------
- The IN module from IRIX has been deprecated for removal in Python 3.0.
- The imgfile module from IRIX has been deprecated for removal in Python 3.0.
- The GLWS module from IRIX has been deprecated for removal in Python 3.0.
...
...
This diff is collapsed.
Click to expand it.
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