)]}'
{"api-ref/source/conf.py":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"bdf10d521d80a844c91874c65fcab24c54989674","unresolved":false,"context_lines":[{"line_number":145,"context_line":"# html_last_updated_fmt \u003d \u0027%b %d, %Y\u0027"},{"line_number":146,"context_line":"git_cmd \u003d [\"git\", \"log\", \"--pretty\u003dformat:\u0027%ad, commit %h\u0027\", \"--date\u003dlocal\","},{"line_number":147,"context_line":"           \"-n1\"]"},{"line_number":148,"context_line":"html_last_updated_fmt \u003d str(subprocess.Popen("},{"line_number":149,"context_line":"    git_cmd, stdout\u003dsubprocess.PIPE).communicate()[0])"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"# If true, SmartyPants will be used to convert quotes and dashes to"}],"source_content_type":"text/x-python","patch_set":1,"id":"bab6814e_ac3fb885","line":148,"range":{"start_line":148,"start_character":24,"end_line":148,"end_character":28},"updated":"2016-05-20 08:00:11.000000000","message":"str of bytes on Python 3 works quite a different way:\n\n \u003e\u003e\u003e str(b\"hello\")\n \"b\u0027hello\u0027\"\n\nthis is how it should look IMO:\n\n subprocess.check_output([...]).decode(\u0027utf-8\u0027, \u0027ignore\u0027)\n\n(note that we don\u0027t really need Popen here)","commit_id":"f749c7780a70757899340ebf6a441c1ae795f891"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"577946d31d79ef94807793af167314b725f69849","unresolved":false,"context_lines":[{"line_number":143,"context_line":"# If not \u0027\u0027, a \u0027Last updated on:\u0027 timestamp is inserted at every page bottom,"},{"line_number":144,"context_line":"# using the given strftime format."},{"line_number":145,"context_line":"# html_last_updated_fmt \u003d \u0027%b %d, %Y\u0027"},{"line_number":146,"context_line":"git_cmd \u003d [\"git\", \"log\", \"--pretty\u003dformat:\u0027%ad, commit %h\u0027\", \"--date\u003dlocal\","},{"line_number":147,"context_line":"           \"-n1\"]"},{"line_number":148,"context_line":"html_last_updated_fmt \u003d subprocess.check_output(git_cmd"},{"line_number":149,"context_line":"        ).decode(\u0027utf-8\u0027).replace(\"\u0027\", \"\")"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"# If true, SmartyPants will be used to convert quotes and dashes to"},{"line_number":152,"context_line":"# typographically correct entities."}],"source_content_type":"text/x-python","patch_set":2,"id":"bab6814e_639ae56f","line":149,"range":{"start_line":146,"start_character":0,"end_line":149,"end_character":42},"updated":"2016-05-20 15:37:48.000000000","message":"instead of using replace, you could just omit quotes from \"--pretty\u003dformat:\u0027%ad, commit %h\u0027\", i.e. leave \"--pretty\u003dformat:%ad, commit %h\"","commit_id":"9e85f5b18ad87e2977b9bec50bcb11f8da998bea"}]}
