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 desbma
Recipients barry, bethard, desbma, paul.j3, rhettinger
Date 2015-11-04.10:47:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446634033.85.0.988010851441.issue25061@psf.upfronthosting.co.za>
In-reply-to
Content
I guess the question is whether Enum should be considered a first class 'native' type that deserves support in argparse, or just a tool among others in the stdlib.

The fact that Enum is implemented as a class, and lives in a module, tends to lead to the second, but the fact that some constants were converted to enums in the stdlib (like in socket) tends to the first.

As a C/C++ developer, I may have a bias towards enums :)
History
Date User Action Args
2015-11-04 10:47:13desbmasetrecipients: + desbma, barry, rhettinger, bethard, paul.j3
2015-11-04 10:47:13desbmasetmessageid: <1446634033.85.0.988010851441.issue25061@psf.upfronthosting.co.za>
2015-11-04 10:47:13desbmalinkissue25061 messages
2015-11-04 10:47:13desbmacreate