On Wed, Jan 11, 2006 at 07:59:03AM +0100, Thomas Heller wrote:
> Another possibility would be to emit a warning when the module (dl or
> ctypes, if included) is imported.
>
> warnings.warn("Incorrect usage of this module may crash Python",
> RuntimeWarning, stacklevel=2)
Arrgggh! No!! Warnings are one of the things I really hate about
perl and I'd hate to see them infecting python any more than they
already have.
I want my programming language to tell me, the programmer, about stuff
not go blurting to the user behind my back.
Death to warnings ;-)
(Yes I know about the warnings module!)
--
Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com