{"action":"closed","issue":{"url":"https://api.github.com/repos/nltk/nltk/issues/1204","repository_url":"https://api.github.com/repos/nltk/nltk","labels_url":"https://api.github.com/repos/nltk/nltk/issues/1204/labels{/name}","comments_url":"https://api.github.com/repos/nltk/nltk/issues/1204/comments","events_url":"https://api.github.com/repos/nltk/nltk/issues/1204/events","html_url":"https://github.com/nltk/nltk/issues/1204","id":116379676,"number":1204,"title":"Zipfile corpus reader breaks in Python 3.5","user":{"login":"stevenbird","id":55406,"avatar_url":"https://avatars.githubusercontent.com/u/55406?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbird","html_url":"https://github.com/stevenbird","followers_url":"https://api.github.com/users/stevenbird/followers","following_url":"https://api.github.com/users/stevenbird/following{/other_user}","gists_url":"https://api.github.com/users/stevenbird/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbird/subscriptions","organizations_url":"https://api.github.com/users/stevenbird/orgs","repos_url":"https://api.github.com/users/stevenbird/repos","events_url":"https://api.github.com/users/stevenbird/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbird/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/nltk/nltk/milestones/9","html_url":"https://github.com/nltk/nltk/milestones/3.3","labels_url":"https://api.github.com/repos/nltk/nltk/milestones/9/labels","id":1338521,"number":9,"title":"3.3","description":"","creator":{"login":"stevenbird","id":55406,"avatar_url":"https://avatars.githubusercontent.com/u/55406?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbird","html_url":"https://github.com/stevenbird","followers_url":"https://api.github.com/users/stevenbird/followers","following_url":"https://api.github.com/users/stevenbird/following{/other_user}","gists_url":"https://api.github.com/users/stevenbird/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbird/subscriptions","organizations_url":"https://api.github.com/users/stevenbird/orgs","repos_url":"https://api.github.com/users/stevenbird/repos","events_url":"https://api.github.com/users/stevenbird/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbird/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":3,"state":"open","created_at":"2015-10-05T15:44:23Z","updated_at":"2016-03-05T03:54:43Z","due_on":"2016-04-29T14:00:00Z","closed_at":null},"comments":5,"created_at":"2015-11-11T17:12:50Z","updated_at":"2016-03-05T03:54:43Z","closed_at":"2016-03-05T03:54:43Z","body":"The zipfile corpus reader breaks in Python 3.5.\r\n\r\n```\r\n>>> from nltk.corpus import propbank\r\n>>> propbank.instances()\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/nltk-3.0.5-py3.5.egg/nltk/util.py\", line 716, in __repr__\r\n    for elt in self:\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/nltk-3.0.5-py3.5.egg/nltk/corpus/reader/util.py\", line 282, in iterate_from\r\n    self._open()\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/nltk-3.0.5-py3.5.egg/nltk/corpus/reader/util.py\", line 209, in _open\r\n    self._stream = self._fileid.open(self._encoding)\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/nltk-3.0.5-py3.5.egg/nltk/data.py\", line 505, in open\r\n    data = self._zipfile.read(self._entry)\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/nltk-3.0.5-py3.5.egg/nltk/data.py\", line 982, in read\r\n    self.close()\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/zipfile.py\", line 1607, in close\r\n    self._fpclose(fp)\r\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/zipfile.py\", line 1711, in _fpclose\r\n    assert self._fileRefCnt > 0\r\nAssertionError\r\n```\r\n"}}