Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 1 | |
| 2 | .. _undoc: |
| 3 | |
| 4 | ******************** |
| 5 | Undocumented Modules |
| 6 | ******************** |
| 7 | |
| 8 | Here's a quick listing of modules that are currently undocumented, but that |
| 9 | should be documented. Feel free to contribute documentation for them! (Send |
| 10 | via email to docs@python.org.) |
| 11 | |
| 12 | The idea and original contents for this chapter were taken from a posting by |
| 13 | Fredrik Lundh; the specific contents of this chapter have been substantially |
| 14 | revised. |
| 15 | |
| 16 | |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 17 | Platform specific modules |
| 18 | ========================= |
| 19 | |
| 20 | These modules are used to implement the :mod:`os.path` module, and are not |
| 21 | documented beyond this mention. There's little need to document these. |
| 22 | |
| 23 | :mod:`ntpath` |
| 24 | --- Implementation of :mod:`os.path` on Win32, Win64, WinCE, and OS/2 platforms. |
| 25 | |
| 26 | :mod:`posixpath` |
| 27 | --- Implementation of :mod:`os.path` on POSIX. |
| 28 | |
| 29 | |
| 30 | Multimedia |
| 31 | ========== |
| 32 | |
| 33 | :mod:`linuxaudiodev` |
| 34 | --- Play audio data on the Linux audio device. Replaced in Python 2.3 by the |
| 35 | :mod:`ossaudiodev` module. |
| 36 | |
| 37 | :mod:`sunaudio` |
| 38 | --- Interpret Sun audio headers (may become obsolete or a tool/demo). |
| 39 | |
Georg Brandl | 116aa62 | 2007-08-15 14:28:22 +0000 | [diff] [blame] | 40 | .. _obsolete-modules: |
| 41 | |
| 42 | Obsolete |
| 43 | ======== |
| 44 | |
| 45 | These modules are not normally available for import; additional work must be |
| 46 | done to make them available. |
| 47 | |
| 48 | These extension modules written in C are not built by default. Under Unix, these |
| 49 | must be enabled by uncommenting the appropriate lines in :file:`Modules/Setup` |
| 50 | in the build tree and either rebuilding Python if the modules are statically |
| 51 | linked, or building and installing the shared object if using dynamically-loaded |
| 52 | extensions. |
Christian Heimes | 5b5e81c | 2007-12-31 16:14:33 +0000 | [diff] [blame] | 53 | |
Georg Brandl | e6bcc91 | 2008-05-12 18:05:20 +0000 | [diff] [blame] | 54 | .. XXX new explanation of lib-old necessary |
Christian Heimes | 5b5e81c | 2007-12-31 16:14:33 +0000 | [diff] [blame] | 55 | |
| 56 | Those which are written in Python will be installed into the directory |
| 57 | \file{lib-old/} installed as part of the standard library. To use |
| 58 | these, the directory must be added to \code{sys.path}, possibly using |
| 59 | \envvar{PYTHONPATH}. |
| 60 | |
| 61 | :mod:`timing` |
| 62 | --- Measure time intervals to high resolution (use :func:`time.clock` instead). |
| 63 | |
| 64 | |
| 65 | SGI-specific Extension modules |
| 66 | ============================== |
| 67 | |
| 68 | The following are SGI specific, and may be out of touch with the current version |
| 69 | of reality. |
| 70 | |
| 71 | :mod:`cl` |
| 72 | --- Interface to the SGI compression library. |
| 73 | |
| 74 | :mod:`sv` |
| 75 | --- Interface to the "simple video" board on SGI Indigo (obsolete hardware). |
| 76 | |