Author shihai1991
Recipients Changaco, bethard, ezio.melotti, mikn, nailor, paul.j3, petri.lehtinen, python-dev, r.david.murray, remram, shihai1991, smparkes
Date 2019-08-27.17:41:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566927718.39.0.345897096728.issue9351@roundup.psfhosted.org>
In-reply-to
Content
How about use a flag(such USING_OUT_NAMESPACE) to identify we use namespace or not?

For example:
subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
for key, value in vars(subnamespace).items():
    if USING_OUT_NAMESPACE and not hasattr(namespace, key):
        setattr(namespace, key, value)
History
Date User Action Args
2019-08-27 17:41:58shihai1991setrecipients: + shihai1991, bethard, ezio.melotti, r.david.murray, nailor, python-dev, petri.lehtinen, paul.j3, mikn, remram, Changaco, smparkes
2019-08-27 17:41:58shihai1991setmessageid: <1566927718.39.0.345897096728.issue9351@roundup.psfhosted.org>
2019-08-27 17:41:58shihai1991linkissue9351 messages
2019-08-27 17:41:58shihai1991create