This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author arnaut-billings
Recipients arnaut-billings, docs@python, paul.j3
Date 2013-12-21.21:23:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387661023.33.0.575321887187.issue20039@psf.upfronthosting.co.za>
In-reply-to
Content
It seems what you're saying is that the ArgumentTypeError class should not be public, but being able to raise is should be public. If that's the case, I think it would be more clear to have an argparse.raiseArgumentTypeError method and document when it should be used.

If such classes are meant to be private, why not prepend their names with an underscore and remove them from the __all__ list? (I thought a leading underscore meant that a module level variable was private to that module.)
History
Date User Action Args
2013-12-21 21:23:43arnaut-billingssetrecipients: + arnaut-billings, docs@python, paul.j3
2013-12-21 21:23:43arnaut-billingssetmessageid: <1387661023.33.0.575321887187.issue20039@psf.upfronthosting.co.za>
2013-12-21 21:23:43arnaut-billingslinkissue20039 messages
2013-12-21 21:23:42arnaut-billingscreate