Demote warnings to notices, part 2: stuff that is 2.x-only.

This commit is contained in:
Georg Brandl 2009-04-27 15:29:26 +00:00
parent 16a57f6a34
commit b44c9f357d
20 changed files with 49 additions and 65 deletions

View File

@ -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
: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:

View File

@ -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
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:

View File

@ -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
``Document``, ``Window``, ``Character``, etc.
.. warning::
.. note::
This module is removed in 3.0.
This module has been removed in Python 3.x.

View File

@ -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
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

View File

@ -15,7 +15,7 @@
.. versionchanged:: 2.3
Disabled module.
.. warning::
.. note::
The documentation has been left in place to help in reading old code that uses
the module.

View File

@ -1,4 +1,3 @@
: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
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:

View File

@ -22,9 +22,9 @@ framework and Qt is in the QuickTime framework. The normal use pattern is ::
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

View File

@ -13,9 +13,9 @@
The :mod:`ColorPicker` module provides access to the standard color picker
dialog.
.. warning::
.. note::
This module is removed in 3.0.
This module has been removed in Python 3.x.
.. function:: GetColor(prompt, rgb)

View File

@ -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
preferable to using the :mod:`commands` module.
.. warning::
.. note::
In 3.x, :func:`getstatus` and two undocumented functions (:func:`mk2arg` and
:func:`mkarg`) have been removed. Also, :func:`getstatusoutput` and
:func:`getoutput` have been moved to the :mod:`subprocess` module.
In Python 3.x, :func:`getstatus` and two undocumented functions
(:func:`mk2arg` and :func:`mkarg`) have been removed. Also,
:func:`getstatusoutput` and :func:`getoutput` have been moved to the
:mod:`subprocess` module.
The :mod:`commands` module defines the following functions:

View File

@ -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
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:

View File

@ -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
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
available for full Cocoa access from Python, and the documentation describes

View File

@ -1,4 +1,3 @@
:mod:`gl` --- *Graphics Library* interface
==========================================
@ -17,9 +16,9 @@ available only on Silicon Graphics machines.
.. warning::
Some illegal calls to the GL library cause the Python interpreter to dump core.
In particular, the use of most GL calls is unsafe before the first window is
opened.
Some illegal calls to the GL library cause the Python interpreter to dump
core. In particular, the use of most GL calls is unsafe before the first
window is opened.
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

View File

@ -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
contained a critical bug.
.. warning::
.. note::
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

View File

@ -1,4 +1,3 @@
: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
: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

View File

@ -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
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::

View File

@ -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
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.

View File

@ -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
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:

View File

@ -75,10 +75,9 @@ This module defines the following functions:
Read a plist from the resource with type *restype* from the resource fork of
*path*. Availability: Mac OS X.
.. warning::
In 3.0, this function is removed.
.. note::
In Python 3.x, this function has been removed.
.. 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
*path*. Availability: Mac OS X.
.. warning::
.. note::
In 3.0, this function is removed.
In Python 3.x, this function has been removed.

View File

@ -1,4 +1,3 @@
:mod:`rexec` --- Restricted execution framework
===============================================

View File

@ -20,9 +20,8 @@ Miscellaneous useful utilities
Some of these are very old and/or not very robust; marked with "hmm."
:mod:`ihooks`
--- Import hook support (for :mod:`rexec`; may become obsolete).
.. warning:: The :mod:`ihooks` module has been removed in Python 3.0.
--- Import hook support (for :mod:`rexec`; may become obsolete). Removed in
Python 3.x.
Platform specific modules
@ -47,27 +46,19 @@ Multimedia
==========
:mod:`audiodev`
--- Platform-independent API for playing audio data.
.. warning:: The :mod:`audiodev` module has been removed in 3.0.
--- Platform-independent API for playing audio data. Removed in Python 3.x.
:mod:`linuxaudiodev`
--- Play audio data on the Linux audio device. Replaced in Python 2.3 by the
:mod:`ossaudiodev` module.
.. warning:: The :mod:`linuxaudiodev` module has been removed in Python 3.0.
:mod:`ossaudiodev` module. Removed in Python 3.x.
:mod:`sunaudio`
--- Interpret Sun audio headers (may become obsolete or a tool/demo).
.. warning:: The :mod:`sunaudio` module has been removed in Python 3.0.
Removed in Python 3.x.
:mod:`toaiff`
--- Convert "arbitrary" sound files to AIFF files; should probably become a tool
or demo. Requires the external program :program:`sox`.
.. warning:: The :mod:`toaiff` module has been removed in 3.0.
or demo. Requires the external program :program:`sox`. Removed in Python 3.x.
.. _undoc-mac-modules:
@ -239,9 +230,8 @@ extensions.
\envvar{PYTHONPATH}.
:mod:`timing`
--- Measure time intervals to high resolution (use :func:`time.clock` instead).
.. warning:: The :mod:`timing` module has been removed in Python 3.0.
--- Measure time intervals to high resolution (use :func:`time.clock`
instead). Removed in Python 3.x.
SGI-specific Extension modules
@ -255,6 +245,4 @@ of reality.
:mod:`sv`
--- Interface to the "simple video" board on SGI Indigo (obsolete hardware).
.. warning:: The :mod:`sv` module has been removed in Python 3.0.
Removed in Python 3.x.