{"action":"created","issue":{"url":"https://api.github.com/repos/PyMySQL/PyMySQL/issues/655","repository_url":"https://api.github.com/repos/PyMySQL/PyMySQL","labels_url":"https://api.github.com/repos/PyMySQL/PyMySQL/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/PyMySQL/PyMySQL/issues/655/comments","events_url":"https://api.github.com/repos/PyMySQL/PyMySQL/issues/655/events","html_url":"https://github.com/PyMySQL/PyMySQL/pull/655","id":318605471,"number":655,"title":"SSCursor: failed to clear unused results on deletion","user":{"login":"grooverdan","id":462287,"avatar_url":"https://avatars2.githubusercontent.com/u/462287?v=4","gravatar_id":"","url":"https://api.github.com/users/grooverdan","html_url":"https://github.com/grooverdan","followers_url":"https://api.github.com/users/grooverdan/followers","following_url":"https://api.github.com/users/grooverdan/following{/other_user}","gists_url":"https://api.github.com/users/grooverdan/gists{/gist_id}","starred_url":"https://api.github.com/users/grooverdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grooverdan/subscriptions","organizations_url":"https://api.github.com/users/grooverdan/orgs","repos_url":"https://api.github.com/users/grooverdan/repos","events_url":"https://api.github.com/users/grooverdan/events{/privacy}","received_events_url":"https://api.github.com/users/grooverdan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-28T06:27:27Z","updated_at":"2018-04-28T11:55:05Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/PyMySQL/PyMySQL/pulls/655","html_url":"https://github.com/PyMySQL/PyMySQL/pull/655","diff_url":"https://github.com/PyMySQL/PyMySQL/pull/655.diff","patch_url":"https://github.com/PyMySQL/PyMySQL/pull/655.patch"},"body":"A cursor may contain unretrieved results. These should be consumed\r\nbefore a new cursor is created on the same connection.\r\n\r\nTested on MySQL-5.1\r\n\r\nerror was:\r\n\r\n```\r\n======================================================================\r\nERROR: test_cleanup_rows_unbuffered (pymysql.tests.test_cursor.CursorTest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"PyMySQL/pymysql/tests/test_cursor.py\", line 37, in test_cleanup_rows_unbuffered\r\n    c2.execute(\"select 1\")\r\n  File \"PyMySQL/pymysql/cursors.py\", line 172, in execute\r\n    result = self._query(query)\r\n  File \"PyMySQL/pymysql/cursors.py\", line 330, in _query\r\n    conn.query(q)\r\n  File \"PyMySQL/pymysql/connections.py\", line 890, in query\r\n    self._execute_command(COMMAND.COM_QUERY, sql)\r\n  File \"PyMySQL/pymysql/connections.py\", line 1126, in _execute_command\r\n    warnings.warn(\"Previous unbuffered result was left incomplete\")\r\nUserWarning: Previous unbuffered result was left incomplete\r\n```"},"comment":{"url":"https://api.github.com/repos/PyMySQL/PyMySQL/issues/comments/385169548","html_url":"https://github.com/PyMySQL/PyMySQL/pull/655#issuecomment-385169548","issue_url":"https://api.github.com/repos/PyMySQL/PyMySQL/issues/655","id":385169548,"user":{"login":"methane","id":199592,"avatar_url":"https://avatars2.githubusercontent.com/u/199592?v=4","gravatar_id":"","url":"https://api.github.com/users/methane","html_url":"https://github.com/methane","followers_url":"https://api.github.com/users/methane/followers","following_url":"https://api.github.com/users/methane/following{/other_user}","gists_url":"https://api.github.com/users/methane/gists{/gist_id}","starred_url":"https://api.github.com/users/methane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/methane/subscriptions","organizations_url":"https://api.github.com/users/methane/orgs","repos_url":"https://api.github.com/users/methane/repos","events_url":"https://api.github.com/users/methane/events{/privacy}","received_events_url":"https://api.github.com/users/methane/received_events","type":"User","site_admin":false},"created_at":"2018-04-28T11:55:05Z","updated_at":"2018-04-28T11:55:05Z","author_association":"OWNER","body":"I avoid `__del__` intentionally."}}
{"actor":{"display_login":"methane"}}