Enchancement suggestion for argparse: intuit type from default
ben+python at benfinney.id.au
Thu Mar 15 02:22:13 CET 2012
Roy Smith <roy at panix.com> writes:
> I'll admit I hadn't considered that, but I don't see it as a major
> problem. The type intuition could be designed to only work for types
> other than NoneType.
−1, then. It's growing too many special cases, and is no longer simple
to describe, so that indicates it's probably a bad idea.
\ “[W]e are still the first generation of users, and for all that |
`\ we may have invented the net, we still don't really get it.” |
_o__) —Douglas Adams |
More information about the Python-list