[Twisted-Python] Re: [Twisted-commits] Support --version
glyph at twistedmatrix.com
Sun Nov 10 23:12:10 EST 2002
On 10 Nov 2002 15:26:28 -0000, Moshe Zadka <twisted at moshez.org> wrote:
> ...who can override opt_version() to report their own version.
> And if they don't, at least --version gives some useful output and
> immediate exit.
You're both right: I think there's a bit of a design hole in Options, since you
can't override opt_version with an arg, and strings in the various data
structures will be ignored in subclasses if it's a method in the superclass.
Lowest-level class ought to always take precedence.
| <`'> | Glyph Lefkowitz: Traveling Sorcerer |
| < _/ > | Lead Developer, the Twisted project |
| < ___/ > | http://www.twistedmatrix.com |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20021110/33dac365/attachment.pgp
More information about the Twisted-Python