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 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 <>
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)
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: <>
2019-08-27 17:41:58shihai1991linkissue9351 messages
2019-08-27 17:41:58shihai1991create