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

Jp Calderone exarkun at intarweb.us
Sat Jun 21 15:19:54 EDT 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 : http://twistedmatrix.com/pipermail/twisted-python/attachments/20030621/df7b4467/attachment.pgp 


More information about the Twisted-Python mailing list