[RFC] use optparse for option handling
Ben Finney
bignose+hates-spam at benfinney.id.au
Thu Jul 13 05:50:18 BST 2006
Aaron Bentley <aaron.bentley at utoronto.ca> writes:
> Here's a bundle that uses optparse as a backend.
Good move.
> (btw, is there a way to prevent that string from being interned? I
> don't want false negatives from
> "if v is not OptionParser.DEFAULT_VALUE")
If you really want to check *identity*, use 'is' and 'is
not'. Otherwise, use '=' and '!='.
You'll get no false negatives from "if v != OptionParser.DEFAULT_VALUE".
--
\ "I went to the museum where they had all the heads and arms |
`\ from the statues that are in all the other museums." -- Steven |
_o__) Wright |
Ben Finney
More information about the bazaar
mailing list