Alexander Hirner <a.hir...@gmail.com> added the comment:

@paul j3
FWIW, popping optionals from a cache that is maintained in addition to 
self._actions, makes special conflict handling unnecessary.

i.e.:
        for option_string in a.option_strings:
            parser._option_string_actions.pop(option_string)

----------
nosy: +cybertreiber

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

Reply via email to