How do I know all thrown exceptions of a function?

Alex Martelli aleaxit at yahoo.com
Tue Jan 23 07:25:23 EST 2001


<fredrik at pythonware.com> wrote in message
news:94jo9u$h45$1 at nnrp1.deja.com...
> "sandj.williams at gte.net" wrote:
> > I parse that to mean 'cruft'.
>
> Sorry, I cannot find 'cruft' in my dictionary.  Did you mean
> that Python's import statement doesn't work as described, that
> Tkinter hasn't been designed to support from-import, or what?

What he means, I don't know, but, for a definition of 'cruft',
I like http://www.tuxedo.org/~esr/jargon/html/entry/cruft.html:

1. n. An unpleasant substance. The dust that gathers under your
bed is cruft; the TMRC Dictionary correctly noted that attacking
it with a broom only produces more.

2. n. The results of shoddy construction.

3. vt. [from `hand cruft', pun on `hand craft'] To write assembler
code for something normally (and better) done by a compiler
(see hand-hacking).

4. n. Excess; superfluous junk; used esp. of redundant or
superseded code.


Given the comp.* context, and the noun-like usage, I suspect
either [2] or more likely [4] are intended.


Alex






More information about the Python-list mailing list