md5.py deprecation error

Ignacio Vazquez-Abrams ivazqueznet at gmail.com
Fri Mar 13 19:21:57 UTC 2009


On Fri, 2009-03-13 at 00:04 -0400, Michel Salim wrote:
> On Thu, Mar 12, 2009 at 10:58 PM, Kevin Kofler <kevin.kofler at chello.at> wrote:
> > Interpreted languages suck for pestering users with this kind of warnings.
> > In a compiled language, this kind of stuff is detected at compile time and
> > thus reported to a person likely to actually be able to fix it.
> >
> A workaround would be for these deprecation warnings to be turned off
> unless the application is being run interactively (at the REPL) or if
> a developer mode (--dev) is passed explicitly.
> 
> It does not look like Python has anything for this, though.

Other than the -W switch and the warning module, no.

-- 
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20090313/11b7a302/attachment.sig>


More information about the fedora-test-list mailing list