[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: md5.py deprecation error



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 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 gmail com>

PLEASE don't CC me; I'm already subscribed

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]