[Twisted-Python] Re: [Twisted-commits] explanation of () for anonymity

Jp Calderone exarkun at intarweb.us
Sat Jun 21 13:19:54 MDT 2003


On Mon, Jun 16, 2003 at 05:57:16AM -0500, glyph CVS wrote:
> Modified files:
> Twisted/twisted/cred/checkers.py 1.2 1.3
> 
> Log message:
> explanation of () for anonymity
> 

  Might an instance of object be a better value for ANONYMOUS?

  It should be even harder to use this by accident (though I admit I don't
see any way to accidentally enter an empty tuple).

  Jp

-- 
#!/bin/bash
( LIST=(~/.sigs/*.sig)
  cat ${LIST[$(($RANDOM % ${#LIST[*]}))]}
  echo -- $'\n' `uptime | sed -e 's/.*m//'` ) > ~/.signature
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20030621/df7b4467/attachment.sig>


More information about the Twisted-Python mailing list