[Twisted-Python] typed mktap usage.Options parameters

Kevin Turner acapnotic at twistedmatrix.com
Sat Sep 7 00:27:32 EDT 2002

just jotting down this note so it gets saved someplace:

There are some very common types of parameters mktap uses -- remote host
or IP, port number, local interface to bind to, password.  We should
have some sort of typed optParameters for this, so that any tap
constructor that takes a port can just say "wordsPort isa port" and get
back a number instead of having to int() the string and/or look it up in
/etc/services, etc.  Another idea being that password-type options
should be prompted for rather than specified on the command line, as
command line parameters are all too visible in the system process table
on many systems.

More information about the Twisted-Python mailing list