[medusa] Possible small bugs in counter.py and auth_handler.py?

Sam Rushing rushing@n...
Fri, 08 Jun 2001 12:16:48 -0700


Van Gale wrote:

> I've really only been using Python since version 2.1, so I'm not aware of
> all the issues involved in porting older code, however I *think* I have
> found an inconsequential bug in counter.py related to differences in long()
> vs. string.atol.
> The method "make_nonce" in auth_handler.py seems to be doing the same thing
> (found by simply doing a grep for [:-1])

The [:-1] was to slice off the 'L' on the end of the string representation of
long numbers.
This must have been changed since python1.x...

-Sam