[Twisted-Python] Re: [Twisted-commits] CVS: Twisted/twisted/python otp.py,NONE,1.1

Moshe Zadka m at moshez.org
Wed Sep 5 12:06:36 MDT 2001


On Wed, 05 Sep 2001, Benjamin Bruheim <phed at twistedmatrix.com> wrote:

> def stringToLong(s):
>     """ Convert bytes to long integer """
...
> def stringToDWords(s):
>     """ Convert bytes to a list of four 32-bits words """
...
> def longToString(l):
>     """ Convert long to digest """
...

Was there a good reason you reimplemented the struct module in Python?

-- 
The Official Moshe Zadka FAQ: http://moshez.geek
The Official Moshe Zadka FAQ For Dummies: http://moshez.org
Read the FAQ





More information about the Twisted-Python mailing list