Does hashlib support a file mode?

Phlip phlip2005 at gmail.com
Thu Jul 7 15:11:19 CEST 2011


> On 2011.07.06 06:16 PM, Steven D'Aprano wrote:> Phlip wrote:
>
> > > Note the fix also avoids comparing to None, which, as usual, is also
> > > icky and less typesafe!
>
> > "Typesafe"? Are you trying to make a joke?

No, I was pointing out that passing a type is more ... typesafe.




More information about the Python-list mailing list