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
b44c9f35
Commit
b44c9f35
authored
Apr 27, 2009
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Demote warnings to notices, part 2: stuff that is 2.x-only.
parent
16a57f6a
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
49 additions
and
65 deletions
+49
-65
Doc/library/aepack.rst
Doc/library/aepack.rst
+2
-2
Doc/library/aetools.rst
Doc/library/aetools.rst
+2
-2
Doc/library/aetypes.rst
Doc/library/aetypes.rst
+2
-2
Doc/library/autogil.rst
Doc/library/autogil.rst
+2
-2
Doc/library/bastion.rst
Doc/library/bastion.rst
+1
-1
Doc/library/binhex.rst
Doc/library/binhex.rst
+2
-3
Doc/library/carbon.rst
Doc/library/carbon.rst
+2
-2
Doc/library/colorpicker.rst
Doc/library/colorpicker.rst
+2
-2
Doc/library/commands.rst
Doc/library/commands.rst
+5
-4
Doc/library/easydialogs.rst
Doc/library/easydialogs.rst
+2
-2
Doc/library/framework.rst
Doc/library/framework.rst
+2
-2
Doc/library/gl.rst
Doc/library/gl.rst
+3
-4
Doc/library/hotshot.rst
Doc/library/hotshot.rst
+1
-1
Doc/library/ic.rst
Doc/library/ic.rst
+2
-3
Doc/library/mac.rst
Doc/library/mac.rst
+2
-2
Doc/library/macos.rst
Doc/library/macos.rst
+2
-2
Doc/library/macostools.rst
Doc/library/macostools.rst
+2
-2
Doc/library/plistlib.rst
Doc/library/plistlib.rst
+4
-5
Doc/library/rexec.rst
Doc/library/rexec.rst
+0
-1
Doc/library/undoc.rst
Doc/library/undoc.rst
+9
-21
No files found.
Doc/library/aepack.rst
View file @
b44c9f35
...
@@ -14,9 +14,9 @@ variables to AppleEvent descriptors and back (unpacking). Within Python the
...
@@ -14,9 +14,9 @@ variables to AppleEvent descriptors and back (unpacking). Within Python the
AppleEvent descriptor is handled by Python objects of built-in type
AppleEvent descriptor is handled by Python objects of built-in type
:class:`AEDesc`, defined in module :mod:`Carbon.AE`.
:class:`AEDesc`, defined in module :mod:`Carbon.AE`.
..
warning
::
..
note
::
This module
is removed in 3.0
.
This module
has been removed in Python 3.x
.
The :mod:`aepack` module defines the following functions:
The :mod:`aepack` module defines the following functions:
...
...
Doc/library/aetools.rst
View file @
b44c9f35
...
@@ -22,9 +22,9 @@ The :mod:`aetools` module itself uses the AppleEvent support provided by the
...
@@ -22,9 +22,9 @@ The :mod:`aetools` module itself uses the AppleEvent support provided by the
manager, see section :ref:`osx-gui-scripts` for details. This restriction may be
manager, see section :ref:`osx-gui-scripts` for details. This restriction may be
lifted in future releases.
lifted in future releases.
..
warning
::
..
note
::
This module
is removed in 3.0
.
This module
has been removed in Python 3.x
.
The :mod:`aetools` module defines the following functions:
The :mod:`aetools` module defines the following functions:
...
...
Doc/library/aetypes.rst
View file @
b44c9f35
...
@@ -31,9 +31,9 @@ application for which you have not generated the stub package this module also
...
@@ -31,9 +31,9 @@ application for which you have not generated the stub package this module also
contains object specifiers for a number of common OSA classes such as
contains object specifiers for a number of common OSA classes such as
``Document``, ``Window``, ``Character``, etc.
``Document``, ``Window``, ``Character``, etc.
..
warning
::
..
note
::
This module
is removed in 3.0
.
This module
has been removed in Python 3.x
.
...
...
Doc/library/autogil.rst
View file @
b44c9f35
...
@@ -13,9 +13,9 @@ The :mod:`autoGIL` module provides a function :func:`installAutoGIL` that
...
@@ -13,9 +13,9 @@ The :mod:`autoGIL` module provides a function :func:`installAutoGIL` that
automatically locks and unlocks Python's :term:`Global Interpreter Lock` when
automatically locks and unlocks Python's :term:`Global Interpreter Lock` when
running an event loop.
running an event loop.
..
warning
::
..
note
::
This module has been removed in
3.0
.
This module has been removed in
Python 3.x
.
.. exception:: AutoGILError
.. exception:: AutoGILError
...
...
Doc/library/bastion.rst
View file @
b44c9f35
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
.. versionchanged:: 2.3
.. versionchanged:: 2.3
Disabled module.
Disabled module.
..
warning
::
..
note
::
The documentation has been left in place to help in reading old code that uses
The documentation has been left in place to help in reading old code that uses
the module.
the module.
...
...
Doc/library/binhex.rst
View file @
b44c9f35
:mod:`binhex` --- Encode and decode binhex4 files
:mod:`binhex` --- Encode and decode binhex4 files
=================================================
=================================================
...
@@ -11,9 +10,9 @@ representation of Macintosh files in ASCII. On the Macintosh, both forks of a
...
@@ -11,9 +10,9 @@ representation of Macintosh files in ASCII. On the Macintosh, both forks of a
file and the finder information are encoded (or decoded), on other platforms
file and the finder information are encoded (or decoded), on other platforms
only the data fork is handled.
only the data fork is handled.
..
warning
::
..
note
::
In
3.0, special Macintosh support is
removed.
In
Python 3.x, special Macintosh support has been
removed.
The :mod:`binhex` module defines the following functions:
The :mod:`binhex` module defines the following functions:
...
...
Doc/library/carbon.rst
View file @
b44c9f35
...
@@ -22,9 +22,9 @@ framework and Qt is in the QuickTime framework. The normal use pattern is ::
...
@@ -22,9 +22,9 @@ framework and Qt is in the QuickTime framework. The normal use pattern is ::
from Carbon import AE
from Carbon import AE
..
warning
::
..
note
::
The Carbon modules
are removed i
n 3.0.
The Carbon modules
have been removed in Pytho
n 3.0.
:mod:`Carbon.AE` --- Apple Events
:mod:`Carbon.AE` --- Apple Events
...
...
Doc/library/colorpicker.rst
View file @
b44c9f35
...
@@ -13,9 +13,9 @@
...
@@ -13,9 +13,9 @@
The :mod:`ColorPicker` module provides access to the standard color picker
The :mod:`ColorPicker` module provides access to the standard color picker
dialog.
dialog.
..
warning
::
..
note
::
This module
is removed in 3.0
.
This module
has been removed in Python 3.x
.
.. function:: GetColor(prompt, rgb)
.. function:: GetColor(prompt, rgb)
...
...
Doc/library/commands.rst
View file @
b44c9f35
...
@@ -22,11 +22,12 @@ The :mod:`subprocess` module provides more powerful facilities for spawning new
...
@@ -22,11 +22,12 @@ The :mod:`subprocess` module provides more powerful facilities for spawning new
processes and retrieving their results. Using the :mod:`subprocess` module is
processes and retrieving their results. Using the :mod:`subprocess` module is
preferable to using the :mod:`commands` module.
preferable to using the :mod:`commands` module.
..
warning
::
..
note
::
In 3.x, :func:`getstatus` and two undocumented functions (:func:`mk2arg` and
In Python 3.x, :func:`getstatus` and two undocumented functions
:func:`mkarg`) have been removed. Also, :func:`getstatusoutput` and
(:func:`mk2arg` and :func:`mkarg`) have been removed. Also,
:func:`getoutput` have been moved to the :mod:`subprocess` module.
:func:`getstatusoutput` and :func:`getoutput` have been moved to the
:mod:`subprocess` module.
The :mod:`commands` module defines the following functions:
The :mod:`commands` module defines the following functions:
...
...
Doc/library/easydialogs.rst
View file @
b44c9f35
...
@@ -16,9 +16,9 @@ resource used for the dialog, provided that the dialog items correspond (both
...
@@ -16,9 +16,9 @@ resource used for the dialog, provided that the dialog items correspond (both
type and item number) to those in the default :const:`DLOG` resource. See source
type and item number) to those in the default :const:`DLOG` resource. See source
code for details.
code for details.
..
warning
::
..
note
::
This module
is removed in 3.0
.
This module
has been removed in Python 3.x
.
The :mod:`EasyDialogs` module defines the following functions:
The :mod:`EasyDialogs` module defines the following functions:
...
...
Doc/library/framework.rst
View file @
b44c9f35
...
@@ -16,9 +16,9 @@ often be done on various different levels, i.e. to handle clicks in a single
...
@@ -16,9 +16,9 @@ often be done on various different levels, i.e. to handle clicks in a single
dialog window in a non-standard way it is not necessary to override the complete
dialog window in a non-standard way it is not necessary to override the complete
event handling.
event handling.
..
warning
::
..
note
::
This module
is removed in 3.0
.
This module
has been removed in Python 3.x
.
Work on the :mod:`FrameWork` has pretty much stopped, now that :mod:`PyObjC` is
Work on the :mod:`FrameWork` has pretty much stopped, now that :mod:`PyObjC` is
available for full Cocoa access from Python, and the documentation describes
available for full Cocoa access from Python, and the documentation describes
...
...
Doc/library/gl.rst
View file @
b44c9f35
:mod:`gl` --- *Graphics Library* interface
:mod:`gl` --- *Graphics Library* interface
==========================================
==========================================
...
@@ -17,9 +16,9 @@ available only on Silicon Graphics machines.
...
@@ -17,9 +16,9 @@ available only on Silicon Graphics machines.
.. warning::
.. warning::
Some illegal calls to the GL library cause the Python interpreter to dump
core.
Some illegal calls to the GL library cause the Python interpreter to dump
In particular, the use of most GL calls is unsafe before the first window is
core. In particular, the use of most GL calls is unsafe before the first
opened.
window is
opened.
The module is too large to document here in its entirety, but the following
The module is too large to document here in its entirety, but the following
should help you to get started. The parameter conventions for the C functions
should help you to get started. The parameter conventions for the C functions
...
...
Doc/library/hotshot.rst
View file @
b44c9f35
...
@@ -26,7 +26,7 @@ in C, it should result in a much smaller performance impact than the existing
...
@@ -26,7 +26,7 @@ in C, it should result in a much smaller performance impact than the existing
The results should be more meaningful than in the past: the timing core
The results should be more meaningful than in the past: the timing core
contained a critical bug.
contained a critical bug.
..
warning
::
..
note
::
The :mod:`hotshot` profiler does not yet work well with threads. It is useful to
The :mod:`hotshot` profiler does not yet work well with threads. It is useful to
use an unthreaded script to run the profiler over the code you're interested in
use an unthreaded script to run the profiler over the code you're interested in
...
...
Doc/library/ic.rst
View file @
b44c9f35
:mod:`ic` --- Access to the Mac OS X Internet Config
:mod:`ic` --- Access to the Mac OS X Internet Config
====================================================
====================================================
...
@@ -11,9 +10,9 @@
...
@@ -11,9 +10,9 @@
This module provides access to various internet-related preferences set through
This module provides access to various internet-related preferences set through
:program:`System Preferences` or the :program:`Finder`.
:program:`System Preferences` or the :program:`Finder`.
..
warning
::
..
note
::
This module
is removed in 3.0
.
This module
has been removed in Python 3.x
.
.. index:: module: icglue
.. index:: module: icglue
...
...
Doc/library/mac.rst
View file @
b44c9f35
...
@@ -10,9 +10,9 @@ See the chapters :ref:`mac-scripting` and :ref:`undoc-mac-modules` for more
...
@@ -10,9 +10,9 @@ See the chapters :ref:`mac-scripting` and :ref:`undoc-mac-modules` for more
modules, and the HOWTO :ref:`using-on-mac` for a general introduction to
modules, and the HOWTO :ref:`using-on-mac` for a general introduction to
Mac-specific Python programming.
Mac-specific Python programming.
..
warning
::
..
note
::
These modules are deprecated and
are removed in 3.0
.
These modules are deprecated and
have been removed in Python 3.x
.
.. toctree::
.. toctree::
...
...
Doc/library/macos.rst
View file @
b44c9f35
...
@@ -11,9 +11,9 @@ This module provides access to MacOS specific functionality in the Python
...
@@ -11,9 +11,9 @@ This module provides access to MacOS specific functionality in the Python
interpreter, such as how the interpreter eventloop functions and the like. Use
interpreter, such as how the interpreter eventloop functions and the like. Use
with care.
with care.
..
warning
::
..
note
::
This module
is removed in 3.0
.
This module
has been removed in Python 3.x
.
Note the capitalization of the module name; this is a historical artifact.
Note the capitalization of the module name; this is a historical artifact.
...
...
Doc/library/macostools.rst
View file @
b44c9f35
...
@@ -13,9 +13,9 @@ Macintosh. All file parameters can be specified as pathnames, :class:`FSRef` or
...
@@ -13,9 +13,9 @@ Macintosh. All file parameters can be specified as pathnames, :class:`FSRef` or
:class:`FSSpec` objects. This module expects a filesystem which supports forked
:class:`FSSpec` objects. This module expects a filesystem which supports forked
files, so it should not be used on UFS partitions.
files, so it should not be used on UFS partitions.
..
warning
::
..
note
::
This module
is removed i
n 3.0.
This module
has been removed in Pytho
n 3.0.
The :mod:`macostools` module defines the following functions:
The :mod:`macostools` module defines the following functions:
...
...
Doc/library/plistlib.rst
View file @
b44c9f35
...
@@ -75,10 +75,9 @@ This module defines the following functions:
...
@@ -75,10 +75,9 @@ This module defines the following functions:
Read a plist from the resource with type *restype* from the resource fork of
Read a plist from the resource with type *restype* from the resource fork of
*path*. Availability: Mac OS X.
*path*. Availability: Mac OS X.
.. warning::
.. note::
In 3.0, this function is removed.
In Python 3.x, this function has been removed.
.. function:: writePlistToResource(rootObject, path[, restype='plst'[, resid=0]])
.. function:: writePlistToResource(rootObject, path[, restype='plst'[, resid=0]])
...
@@ -86,9 +85,9 @@ This module defines the following functions:
...
@@ -86,9 +85,9 @@ This module defines the following functions:
Write *rootObject* as a resource with type *restype* to the resource fork of
Write *rootObject* as a resource with type *restype* to the resource fork of
*path*. Availability: Mac OS X.
*path*. Availability: Mac OS X.
..
warning
::
..
note
::
In
3.0, this function is
removed.
In
Python 3.x, this function has been
removed.
...
...
Doc/library/rexec.rst
View file @
b44c9f35
:mod:`rexec` --- Restricted execution framework
:mod:`rexec` --- Restricted execution framework
===============================================
===============================================
...
...
Doc/library/undoc.rst
View file @
b44c9f35
...
@@ -20,9 +20,8 @@ Miscellaneous useful utilities
...
@@ -20,9 +20,8 @@ Miscellaneous useful utilities
Some of these are very old and/or not very robust; marked with "hmm."
Some of these are very old and/or not very robust; marked with "hmm."
:mod:`ihooks`
:mod:`ihooks`
--- Import hook support (for :mod:`rexec`; may become obsolete).
--- Import hook support (for :mod:`rexec`; may become obsolete). Removed in
Python 3.x.
.. warning:: The :mod:`ihooks` module has been removed in Python 3.0.
Platform specific modules
Platform specific modules
...
@@ -47,27 +46,19 @@ Multimedia
...
@@ -47,27 +46,19 @@ Multimedia
==========
==========
:mod:`audiodev`
:mod:`audiodev`
--- Platform-independent API for playing audio data.
--- Platform-independent API for playing audio data. Removed in Python 3.x.
.. warning:: The :mod:`audiodev` module has been removed in 3.0.
:mod:`linuxaudiodev`
:mod:`linuxaudiodev`
--- Play audio data on the Linux audio device. Replaced in Python 2.3 by the
--- Play audio data on the Linux audio device. Replaced in Python 2.3 by the
:mod:`ossaudiodev` module.
:mod:`ossaudiodev` module. Removed in Python 3.x.
.. warning:: The :mod:`linuxaudiodev` module has been removed in Python 3.0.
:mod:`sunaudio`
:mod:`sunaudio`
--- Interpret Sun audio headers (may become obsolete or a tool/demo).
--- Interpret Sun audio headers (may become obsolete or a tool/demo).
Removed in Python 3.x.
.. warning:: The :mod:`sunaudio` module has been removed in Python 3.0.
:mod:`toaiff`
:mod:`toaiff`
--- Convert "arbitrary" sound files to AIFF files; should probably become a tool
--- Convert "arbitrary" sound files to AIFF files; should probably become a tool
or demo. Requires the external program :program:`sox`.
or demo. Requires the external program :program:`sox`. Removed in Python 3.x.
.. warning:: The :mod:`toaiff` module has been removed in 3.0.
..
_undoc-mac-modules:
..
_undoc-mac-modules:
...
@@ -239,9 +230,8 @@ extensions.
...
@@ -239,9 +230,8 @@ extensions.
\envvar{PYTHONPATH}.
\envvar{PYTHONPATH}.
:mod:`timing`
:mod:`timing`
--- Measure time intervals to high resolution (use :func:`time.clock` instead).
--- Measure time intervals to high resolution (use :func:`time.clock`
instead). Removed in Python 3.x.
.. warning:: The :mod:`timing` module has been removed in Python 3.0.
SGI-specific Extension modules
SGI-specific Extension modules
...
@@ -255,6 +245,4 @@ of reality.
...
@@ -255,6 +245,4 @@ of reality.
:mod:`sv`
:mod:`sv`
--- Interface to the "simple video" board on SGI Indigo (obsolete hardware).
--- Interface to the "simple video" board on SGI Indigo (obsolete hardware).
Removed in Python 3.x.
.. warning:: The :mod:`sv` module has been removed in Python 3.0.
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