)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"dd3f55fb45d67029ee1baefc29e3d488851e0ed4","unresolved":false,"context_lines":[{"line_number":10,"context_line":"from a _SubParsersAction up to the main ArgumentsParser. Unfortunately"},{"line_number":11,"context_line":"they use a really weird way to set the attr:"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"    vars(namespace).setdefault(_UNRECOGNIZED_ARGS_ATTR, [])"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This bypasses __setattr__ so when they try to delattr later,"},{"line_number":16,"context_line":"__delattr__ can\u0027t find it and bombs. Even though the delattr is"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5a5ae5dd_9aca866d","line":13,"range":{"start_line":13,"start_character":31,"end_line":13,"end_character":54},"updated":"2016-02-04 11:48:50.000000000","message":"Hum, it may be nice to have an unit test on this code used in the wild. It doesn\u0027t seem that added tests check exactly that.","commit_id":"068784afab28631b2a8fcd5dbc55a777508f63b6"}],"oslo_config/cfg.py":[{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"8f8135ffc809dfd4e871559edbd3c3350cfb827d","unresolved":false,"context_lines":[{"line_number":1779,"context_line":"            raise AttributeError("},{"line_number":1780,"context_line":"                \"\u0027_Namespace\u0027 object has no attribute \u0027%s\u0027\" % name)"},{"line_number":1781,"context_line":""},{"line_number":1782,"context_line":"    def __delattr__(self, name):"},{"line_number":1783,"context_line":"        # argparse._SubParsersAction.__call__ uses vars() to set an attr. This"},{"line_number":1784,"context_line":"        # bypasses _Namespace.__setattr__ and stuffs it right into the object"},{"line_number":1785,"context_line":"        # dict. When argparse.ArgumentParser.parse_known_args uses hasattr to"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a5ae5dd_08999e6e","line":1782,"updated":"2016-02-03 16:16:14.000000000","message":"Working around this sort of thing makes me suspicious of using the attribute API. Can we bypass that? Does something that uses this class require getattr(), for example? Can we at least fall back to the base class method in more cases?","commit_id":"37f4c0b4a494e34f1414dbed30d63da75b4c61bc"}]}
