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

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



> 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've fixed the missing imports in pyutil CVS.

Regards,

Zooko