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

Re: [minion-cvs] Use Zooko"s zlibutil to do bounded uncompressionwith P...



Oops -- I've just realized I hadn't answered your message.

On Wed, 2003-01-01 at 12:58, Zooko wrote:
> > BTW, I had a question about the zlibutil.py link on sourceforge.  Where
> > are the methods supposed to get their definition of hr?  I know it's
> > declared in humanreadable.py, but I don't see an import statement
> > anywhere in zlibutil.
> 
> Whoops.  Apparently nobody has gotten an error with that version of the file, 
> and so nobody has noticed that "hr" isn't defined.  That's the problem with 
> dynamic languages it seems.
> 
> How did you notice?  Careful reading?  Unit tests that exercise the error 
> conditions?  pychecker?

I wish! :)

Actually, I noticed by accidentally triggering the error.

-- 
Nick Mathewson <nickm@alum.mit.edu>