)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"3fc0752ec6d0df67a1a19bc6661ffb03fdf8bc6e","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This function doesn\u0027t seem to be necessary. The json encoding of a"},{"line_number":10,"context_line":"named tuple will already turn into a normal list."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"ports \u003d [l2pop_rpc.PortInfo(\u0027abcdef\u0027, \u00271.1.1.1\u0027)]"},{"line_number":13,"context_line":"json.dumps(ports) \u003d\u003d json.dumps([(mac, ip) for (mac, ip) in ports])"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"An argument could be made that the PortInfo object could have"},{"line_number":16,"context_line":"something added to it later that we wouldn\u0027t want to serialize"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7a5de9d1_94f12d98","line":13,"range":{"start_line":12,"start_character":0,"end_line":13,"end_character":67},"updated":"2016-02-02 21:35:28.000000000","message":"I have a vague memory of why this was added in the first place.  I think I discovered that some version of json or maybe another encoder did it differently.  I didn\u0027t want that uncertainty.  It might happen that we don\u0027t need this now but we may have needed it in the past.  If I had time, I\u0027d go dig up the details but I don\u0027t really have time.\n\nCould we add a unit test that asserts this behavior that we need so that if something does change then we\u0027ll detect it?","commit_id":"b929da3a50075de4c27e6e79c1eefc2fb84e7f50"}]}
