R. David Murray added the comment:

The obvious thing to do would be to make the Action subclasses have public 
names.  I personally would continue to use the strings, though, as they are 
easier to type.  (The same would be true if an enum were introduced (that I'd 
continue to use the stings because they are easier to type :), since they would 
need to be namespaced (argparse.action.store_true, for example).)

I can see some potential value in exposing the action subclasses, but I'm not 
sure if it is worth it.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29632>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to