| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <link rel="STYLESHEET" href="lib.css" type='text/css' /> |
| 5 | <link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" /> |
| 6 | <link rel='start' href='../index.html' title='Python Documentation Index' /> |
| 7 | <link rel="first" href="lib.html" title='Python Library Reference' /> |
| 8 | <link rel='contents' href='contents.html' title="Contents" /> |
| 9 | <link rel='index' href='genindex.html' title='Index' /> |
| 10 | <link rel='last' href='about.html' title='About this document...' /> |
| 11 | <link rel='help' href='about.html' title='About this document...' /> |
| 12 | <link rel="next" href="node836.html" /> |
| 13 | <link rel="prev" href="node834.html" /> |
| 14 | <link rel="parent" href="undoc.html" /> |
| 15 | <link rel="next" href="node836.html" /> |
| 16 | <meta name='aesop' content='information' /> |
| 17 | <title>A.5 Obsolete </title> |
| 18 | </head> |
| 19 | <body> |
| 20 | <DIV CLASS="navigation"> |
| 21 | <div id='top-navigation-panel' xml:id='top-navigation-panel'> |
| 22 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 23 | <tr> |
| 24 | <td class='online-navigation'><a rel="prev" title="A.4 Multimedia" |
| 25 | href="node834.html"><img src='../icons/previous.png' |
| 26 | border='0' height='32' alt='Previous Page' width='32' /></A></td> |
| 27 | <td class='online-navigation'><a rel="parent" title="A. Undocumented Modules" |
| 28 | href="undoc.html"><img src='../icons/up.png' |
| 29 | border='0' height='32' alt='Up One Level' width='32' /></A></td> |
| 30 | <td class='online-navigation'><a rel="next" title="A.6 SGI-specific Extension modules" |
| 31 | href="node836.html"><img src='../icons/next.png' |
| 32 | border='0' height='32' alt='Next Page' width='32' /></A></td> |
| 33 | <td align="center" width="100%">Python Library Reference</td> |
| 34 | <td class='online-navigation'><a rel="contents" title="Table of Contents" |
| 35 | href="contents.html"><img src='../icons/contents.png' |
| 36 | border='0' height='32' alt='Contents' width='32' /></A></td> |
| 37 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' |
| 38 | border='0' height='32' alt='Module Index' width='32' /></a></td> |
| 39 | <td class='online-navigation'><a rel="index" title="Index" |
| 40 | href="genindex.html"><img src='../icons/index.png' |
| 41 | border='0' height='32' alt='Index' width='32' /></A></td> |
| 42 | </tr></table> |
| 43 | <div class='online-navigation'> |
| 44 | <b class="navlabel">Previous:</b> |
| 45 | <a class="sectref" rel="prev" href="node834.html">A.4 Multimedia</A> |
| 46 | <b class="navlabel">Up:</b> |
| 47 | <a class="sectref" rel="parent" href="undoc.html">A. Undocumented Modules</A> |
| 48 | <b class="navlabel">Next:</b> |
| 49 | <a class="sectref" rel="next" href="node836.html">A.6 SGI-specific Extension modules</A> |
| 50 | </div> |
| 51 | <hr /></div> |
| 52 | </DIV> |
| 53 | <!--End of Navigation Panel--> |
| 54 | |
| 55 | <H1><A NAME="SECTION0025500000000000000000"></A><A NAME="obsolete-modules"></A> |
| 56 | <BR> |
| 57 | A.5 Obsolete |
| 58 | </H1> |
| 59 | |
| 60 | <P> |
| 61 | These modules are not normally available for import; additional work |
| 62 | must be done to make them available. |
| 63 | |
| 64 | <P> |
| 65 | Those which are written in Python will be installed into the directory |
| 66 | <span class="file">lib-old/</span> installed as part of the standard library. To use |
| 67 | these, the directory must be added to <code>sys.path</code>, possibly using |
| 68 | <a class="envvar" id='l2h-5293' xml:id='l2h-5293'>PYTHONPATH</a>. |
| 69 | |
| 70 | <P> |
| 71 | Obsolete extension modules written in C are not built by default. |
| 72 | Under <span class="Unix">Unix</span>, these must be enabled by uncommenting the appropriate |
| 73 | lines in <span class="file">Modules/Setup</span> in the build tree and either rebuilding |
| 74 | Python if the modules are statically linked, or building and |
| 75 | installing the shared object if using dynamically-loaded extensions. |
| 76 | |
| 77 | <P> |
| 78 | <DL> |
| 79 | <DT><STRONG><tt class="module">addpack</tt></STRONG></DT> |
| 80 | <DD>-- Alternate approach to packages. Use the built-in package support |
| 81 | instead. |
| 82 | |
| 83 | <P> |
| 84 | </DD> |
| 85 | <DT><STRONG><tt class="module">cmp</tt></STRONG></DT> |
| 86 | <DD>-- File comparison function. Use the newer <tt class="module"><a href="module-filecmp.html">filecmp</a></tt> instead. |
| 87 | |
| 88 | <P> |
| 89 | </DD> |
| 90 | <DT><STRONG><tt class="module">cmpcache</tt></STRONG></DT> |
| 91 | <DD>-- Caching version of the obsolete <tt class="module">cmp</tt> module. Use the |
| 92 | newer <tt class="module"><a href="module-filecmp.html">filecmp</a></tt> instead. |
| 93 | |
| 94 | <P> |
| 95 | </DD> |
| 96 | <DT><STRONG><tt class="module">codehack</tt></STRONG></DT> |
| 97 | <DD>-- Extract function name or line number from a function |
| 98 | code object (these are now accessible as attributes: |
| 99 | <tt class="member">co.co_name</tt>, <tt class="member">func.func_name</tt>, |
| 100 | <tt class="member">co.co_firstlineno</tt>). |
| 101 | |
| 102 | <P> |
| 103 | </DD> |
| 104 | <DT><STRONG><tt class="module">dircmp</tt></STRONG></DT> |
| 105 | <DD>-- Class to build directory diff tools on (may become a demo or tool). |
| 106 | <div class="versionnote"><b>Deprecated since release 2.0.</b> |
| 107 | The <tt class="module"><a href="module-filecmp.html">filecmp</a></tt> module replaces |
| 108 | <tt class="module">dircmp</tt>.</div><p></p> |
| 109 | |
| 110 | <P> |
| 111 | </DD> |
| 112 | <DT><STRONG><tt class="module">dump</tt></STRONG></DT> |
| 113 | <DD>-- Print python code that reconstructs a variable. |
| 114 | |
| 115 | <P> |
| 116 | </DD> |
| 117 | <DT><STRONG><tt class="module">fmt</tt></STRONG></DT> |
| 118 | <DD>-- Text formatting abstractions (too slow). |
| 119 | |
| 120 | <P> |
| 121 | </DD> |
| 122 | <DT><STRONG><tt class="module">lockfile</tt></STRONG></DT> |
| 123 | <DD>-- Wrapper around FCNTL file locking (use |
| 124 | <tt class="function">fcntl.lockf()</tt>/<tt class="function">flock()</tt> instead; see <tt class="module"><a href="module-fcntl.html">fcntl</a></tt>). |
| 125 | |
| 126 | <P> |
| 127 | </DD> |
| 128 | <DT><STRONG><tt class="module">newdir</tt></STRONG></DT> |
| 129 | <DD>-- New <tt class="function">dir()</tt> function (the standard <tt class="function">dir()</tt> is |
| 130 | now just as good). |
| 131 | |
| 132 | <P> |
| 133 | </DD> |
| 134 | <DT><STRONG><tt class="module">Para</tt></STRONG></DT> |
| 135 | <DD>-- Helper for <tt class="module">fmt</tt>. |
| 136 | |
| 137 | <P> |
| 138 | </DD> |
| 139 | <DT><STRONG><tt class="module">poly</tt></STRONG></DT> |
| 140 | <DD>-- Polynomials. |
| 141 | |
| 142 | <P> |
| 143 | </DD> |
| 144 | <DT><STRONG><tt class="module">regex</tt></STRONG></DT> |
| 145 | <DD>-- Emacs-style regular expression support; may still be used in some |
| 146 | old code (extension module). Refer to the |
| 147 | <em class="citetitle"><a |
| 148 | href="http://www.python.org/doc/1.6/lib/module-regex.html" |
| 149 | title="Python |
| 150 | 1.6 Documentation" |
| 151 | >Python |
| 152 | 1.6 Documentation</a></em> for documentation. |
| 153 | |
| 154 | <P> |
| 155 | </DD> |
| 156 | <DT><STRONG><tt class="module">regsub</tt></STRONG></DT> |
| 157 | <DD>-- Regular expression based string replacement utilities, for use |
| 158 | with <tt class="module">regex</tt> (extension module). Refer to the |
| 159 | <em class="citetitle"><a |
| 160 | href="http://www.python.org/doc/1.6/lib/module-regsub.html" |
| 161 | title="Python |
| 162 | 1.6 Documentation" |
| 163 | >Python |
| 164 | 1.6 Documentation</a></em> for documentation. |
| 165 | |
| 166 | <P> |
| 167 | </DD> |
| 168 | <DT><STRONG><tt class="module">tb</tt></STRONG></DT> |
| 169 | <DD>-- Print tracebacks, with a dump of local variables (use |
| 170 | <tt class="function">pdb.pm()</tt> or <tt class="module"><a href="module-traceback.html">traceback</a></tt> instead). |
| 171 | |
| 172 | <P> |
| 173 | </DD> |
| 174 | <DT><STRONG><tt class="module">timing</tt></STRONG></DT> |
| 175 | <DD>-- Measure time intervals to high resolution (use |
| 176 | <tt class="function">time.clock()</tt> instead). (This is an extension module.) |
| 177 | |
| 178 | <P> |
| 179 | </DD> |
| 180 | <DT><STRONG><tt class="module">tzparse</tt></STRONG></DT> |
| 181 | <DD>-- Parse a timezone specification (unfinished; may disappear in the |
| 182 | future, and does not work when the <a class="envvar" id='l2h-5294' xml:id='l2h-5294'>TZ</a> environment variable is |
| 183 | not set). |
| 184 | |
| 185 | <P> |
| 186 | </DD> |
| 187 | <DT><STRONG><tt class="module">util</tt></STRONG></DT> |
| 188 | <DD>-- Useful functions that don't fit elsewhere. |
| 189 | |
| 190 | <P> |
| 191 | </DD> |
| 192 | <DT><STRONG><tt class="module">whatsound</tt></STRONG></DT> |
| 193 | <DD>-- Recognize sound files; use <tt class="module"><a href="module-sndhdr.html">sndhdr</a></tt> instead. |
| 194 | |
| 195 | <P> |
| 196 | </DD> |
| 197 | <DT><STRONG><tt class="module">zmod</tt></STRONG></DT> |
| 198 | <DD>-- Compute properties of mathematical ``fields.'' |
| 199 | </DD> |
| 200 | </DL> |
| 201 | |
| 202 | <P> |
| 203 | The following modules are obsolete, but are likely to re-surface as |
| 204 | tools or scripts: |
| 205 | |
| 206 | <P> |
| 207 | <DL> |
| 208 | <DT><STRONG><tt class="module">find</tt></STRONG></DT> |
| 209 | <DD>-- Find files matching pattern in directory tree. |
| 210 | |
| 211 | <P> |
| 212 | </DD> |
| 213 | <DT><STRONG><tt class="module">grep</tt></STRONG></DT> |
| 214 | <DD>-- <b class="program">grep</b> implementation in Python. |
| 215 | |
| 216 | <P> |
| 217 | </DD> |
| 218 | <DT><STRONG><tt class="module">packmail</tt></STRONG></DT> |
| 219 | <DD>-- Create a self-unpacking <span class="Unix">Unix</span> shell archive. |
| 220 | </DD> |
| 221 | </DL> |
| 222 | |
| 223 | <P> |
| 224 | The following modules were documented in previous versions of this |
| 225 | manual, but are now considered obsolete. The source for the |
| 226 | documentation is still available as part of the documentation source |
| 227 | archive. |
| 228 | |
| 229 | <P> |
| 230 | <DL> |
| 231 | <DT><STRONG><tt class="module">ni</tt></STRONG></DT> |
| 232 | <DD>-- Import modules in ``packages.'' Basic package support is now |
| 233 | built in. The built-in support is very similar to what is provided in |
| 234 | this module. |
| 235 | |
| 236 | <P> |
| 237 | </DD> |
| 238 | <DT><STRONG><tt class="module">rand</tt></STRONG></DT> |
| 239 | <DD>-- Old interface to the random number generator. |
| 240 | |
| 241 | <P> |
| 242 | </DD> |
| 243 | <DT><STRONG><tt class="module">soundex</tt></STRONG></DT> |
| 244 | <DD>-- Algorithm for collapsing names which sound similar to a shared |
| 245 | key. The specific algorithm doesn't seem to match any published |
| 246 | algorithm. (This is an extension module.) |
| 247 | </DD> |
| 248 | </DL> |
| 249 | |
| 250 | <P> |
| 251 | |
| 252 | <DIV CLASS="navigation"> |
| 253 | <div class='online-navigation'> |
| 254 | <p></p><hr /> |
| 255 | <table align="center" width="100%" cellpadding="0" cellspacing="2"> |
| 256 | <tr> |
| 257 | <td class='online-navigation'><a rel="prev" title="A.4 Multimedia" |
| 258 | href="node834.html"><img src='../icons/previous.png' |
| 259 | border='0' height='32' alt='Previous Page' width='32' /></A></td> |
| 260 | <td class='online-navigation'><a rel="parent" title="A. Undocumented Modules" |
| 261 | href="undoc.html"><img src='../icons/up.png' |
| 262 | border='0' height='32' alt='Up One Level' width='32' /></A></td> |
| 263 | <td class='online-navigation'><a rel="next" title="A.6 SGI-specific Extension modules" |
| 264 | href="node836.html"><img src='../icons/next.png' |
| 265 | border='0' height='32' alt='Next Page' width='32' /></A></td> |
| 266 | <td align="center" width="100%">Python Library Reference</td> |
| 267 | <td class='online-navigation'><a rel="contents" title="Table of Contents" |
| 268 | href="contents.html"><img src='../icons/contents.png' |
| 269 | border='0' height='32' alt='Contents' width='32' /></A></td> |
| 270 | <td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png' |
| 271 | border='0' height='32' alt='Module Index' width='32' /></a></td> |
| 272 | <td class='online-navigation'><a rel="index" title="Index" |
| 273 | href="genindex.html"><img src='../icons/index.png' |
| 274 | border='0' height='32' alt='Index' width='32' /></A></td> |
| 275 | </tr></table> |
| 276 | <div class='online-navigation'> |
| 277 | <b class="navlabel">Previous:</b> |
| 278 | <a class="sectref" rel="prev" href="node834.html">A.4 Multimedia</A> |
| 279 | <b class="navlabel">Up:</b> |
| 280 | <a class="sectref" rel="parent" href="undoc.html">A. Undocumented Modules</A> |
| 281 | <b class="navlabel">Next:</b> |
| 282 | <a class="sectref" rel="next" href="node836.html">A.6 SGI-specific Extension modules</A> |
| 283 | </div> |
| 284 | </div> |
| 285 | <hr /> |
| 286 | <span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span> |
| 287 | </DIV> |
| 288 | <!--End of Navigation Panel--> |
| 289 | <ADDRESS> |
| 290 | See <i><a href="about.html">About this document...</a></i> for information on suggesting changes. |
| 291 | </ADDRESS> |
| 292 | </BODY> |
| 293 | </HTML> |