)]}'
{"cyborg/common/utils.py":[{"author":{"_account_id":14131,"name":"shaohef","email":"shaohe.feng@intel.com","username":"shaohefeng"},"change_message_id":"63544851069165a00969b930ff3d0a5e5adcdf61","unresolved":false,"context_lines":[{"line_number":251,"context_line":"        # NOTE(Shaohe): py37/38 will use SimpleQueue as _work_queue, it will"},{"line_number":252,"context_line":"        # cause hang the main thread with eventlet.monkey_patch. Change it"},{"line_number":253,"context_line":"        # to queue._PySimpleQueue"},{"line_number":254,"context_line":"        if hasattr(queue, \"SimpleQueue\") and not isinstance("},{"line_number":255,"context_line":"            self._work_queue, queue._PySimpleQueue):"},{"line_number":256,"context_line":"            self._work_queue \u003d queue._PySimpleQueue()"},{"line_number":257,"context_line":""},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"class ThreadWorks(Singleton):"}],"source_content_type":"text/x-python","patch_set":7,"id":"3fa7e38b_ac26cb20","line":256,"range":{"start_line":254,"start_character":8,"end_line":256,"end_character":53},"updated":"2020-02-20 10:09:47.000000000","message":"we can also make a global change, pre-set queue.SimpleQueue.\n\nsuch as:\nif all([hasattr(queue, \"SimpleQueue\"), queue.SimpleQueue !\u003d queue._PySimpleQueue]):\n    queue.SimpleQueue \u003d queue._PySimpleQueue\n\nsuper(ThreadPoolExecutor, self).__init__(*args, **kwargs)\n\nbut this is similar to \nhttps://review.opendev.org/#/c/708655/3/cyborg/common/utils.py@43","commit_id":"16ac71928deea9bc6e4f4d84c3a3a2b78f6e7367"},{"author":{"_account_id":28748,"name":"chenker","email":"chen.ke14@zte.com.cn","username":"chenke"},"change_message_id":"13fa2f7a50e6e01a4bb90a2f73a309c0cd74eeee","unresolved":false,"context_lines":[{"line_number":251,"context_line":"        # NOTE(Shaohe): py37/38 will use SimpleQueue as _work_queue, it will"},{"line_number":252,"context_line":"        # cause hang the main thread with eventlet.monkey_patch. Change it"},{"line_number":253,"context_line":"        # to queue._PySimpleQueue"},{"line_number":254,"context_line":"        if hasattr(queue, \"SimpleQueue\") and not isinstance("},{"line_number":255,"context_line":"            self._work_queue, queue._PySimpleQueue):"},{"line_number":256,"context_line":"            self._work_queue \u003d queue._PySimpleQueue()"},{"line_number":257,"context_line":""},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"class ThreadWorks(Singleton):"}],"source_content_type":"text/x-python","patch_set":7,"id":"3fa7e38b_efcd955b","line":256,"range":{"start_line":254,"start_character":8,"end_line":256,"end_character":53},"in_reply_to":"3fa7e38b_ac26cb20","updated":"2020-02-20 11:08:31.000000000","message":"I think PS3 is good enough.","commit_id":"16ac71928deea9bc6e4f4d84c3a3a2b78f6e7367"}]}
