)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":38496,"name":"Andressa Cabistani","display_name":"Andressa","email":"acabistani@gmail.com","username":"andressadotpy","status":"I\u0027m a Software Engineer at Red Hat and I love Open Source and connect with people! Feel free to DM through IRC, I\u0027ll be delighted to chat"},"change_message_id":"4f41a6278e2fb97de08444b055d8656b2b58f766","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"6c32b23d_17de0047","updated":"2026-07-16 12:13:29.000000000","message":"This patch is looking really good to me!","commit_id":"c33fc0c984a33056349e5b4cabb9aed6ac4b84d2"}],"swift/common/middleware/x_profile/profile_model.py":[{"author":{"_account_id":38496,"name":"Andressa Cabistani","display_name":"Andressa","email":"acabistani@gmail.com","username":"andressadotpy","status":"I\u0027m a Software Engineer at Red Hat and I love Open Source and connect with people! Feel free to DM through IRC, I\u0027ll be delighted to chat"},"change_message_id":"4f41a6278e2fb97de08444b055d8656b2b58f766","unresolved":true,"context_lines":[{"line_number":273,"context_line":"            profiler.dump_stats(tmpfn)"},{"line_number":274,"context_line":"            # empty stats (nothing profiled) can\u0027t be loaded by pstats,"},{"line_number":275,"context_line":"            # so drop the temp dump instead of renaming it into place."},{"line_number":276,"context_line":"            if not profiler.stats:"},{"line_number":277,"context_line":"                os.remove(tmpfn)"},{"line_number":278,"context_line":"                return None"},{"line_number":279,"context_line":"            os.rename(tmpfn, pfn)"}],"source_content_type":"text/x-python","patch_set":5,"id":"a19cae25_69f17e4e","line":276,"updated":"2026-07-16 12:13:29.000000000","message":"The empty-stats write a temp file and immediately deletes it.\nSuggestion: the check could be moved before the write to avoid unnecessary I/O.\n\n```python\nif not profiler.stats:\n    return None\ntmpfn \u003d pfn + \".tmp\"\nprofiler.dump_stats(tmpfn)\nos.rename(tmpfn, pfn)\nreturn pfn\n```","commit_id":"c33fc0c984a33056349e5b4cabb9aed6ac4b84d2"}]}
