mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Demote warnings to notices, part 2: stuff that is 2.x-only.
This commit is contained in:
parent
16a57f6a34
commit
b44c9f357d
20 changed files with 49 additions and 65 deletions
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
: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
|
||||||
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:
|
||||||
|
|
|
@ -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 in 3.0.
|
The Carbon modules have been removed in Python 3.0.
|
||||||
|
|
||||||
|
|
||||||
:mod:`Carbon.AE` --- Apple Events
|
:mod:`Carbon.AE` --- Apple Events
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
:mod:`gl` --- *Graphics Library* interface
|
:mod:`gl` --- *Graphics Library* interface
|
||||||
==========================================
|
==========================================
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
:mod:`ic` --- Access to the Mac OS X Internet Config
|
:mod:`ic` --- Access to the Mac OS X Internet Config
|
||||||
====================================================
|
====================================================
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
|
@ -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::
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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 in 3.0.
|
This module has been removed in Python 3.0.
|
||||||
|
|
||||||
The :mod:`macostools` module defines the following functions:
|
The :mod:`macostools` 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:
|
||||||
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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
:mod:`rexec` --- Restricted execution framework
|
:mod:`rexec` --- Restricted execution framework
|
||||||
===============================================
|
===============================================
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
==========
|
==========
|
||||||
|
|
||||||
: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.
|
||||||
\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.
|
||||||
|
|
||||||
: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.
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue