[docs] [issue11260] smtpd-as-a-script feature should be documented and should use argparse
R. David Murray
report at bugs.python.org
Mon Feb 21 22:32:17 CET 2011
R. David Murray <rdmurray at bitdance.com> added the comment:
Thanks for taking an interest in this and working up a patch. Unfortunately I do have some concerns.
As far as I know the only module that currently uses argparse is compileall, which was only changed recently.
Do tests currently exist for smtpd run as a script? If not, our experience with converting compileall to argparse indicates a thorough test suite is needed (and even so we missed some things we hadn't thought to test).
We converted compileall because its help output was broken, but in retrospect it might have been better to fix the help output in the existing code. In other words, if the current code works, is "updating" it a sufficient reason to change it, considering the chances of introducing new bugs? The answer might be yes, but I don't think it is obviously yes.
type: -> feature request
Python tracker <report at bugs.python.org>
More information about the docs