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:
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:
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.
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
.. versionchanged:: 2.3
Disabled module.
-.. warning::
+.. note::
The documentation has been left in place to help in reading old code that uses
the module.
-
:mod:`binhex` --- Encode and decode binhex4 files
=================================================
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:
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
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)
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:
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:
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
-
:mod:`gl` --- *Graphics Library* interface
==========================================
.. 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
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
-
:mod:`ic` --- Access to the Mac OS X Internet Config
====================================================
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
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::
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.
: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:
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]])
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.
-
:mod:`rexec` --- Restricted execution framework
===============================================
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
==========
: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:
\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
: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.