{"action":"created","issue":{"url":"https://api.github.com/repos/bitletorg/bitlet/issues/7","labels_url":"https://api.github.com/repos/bitletorg/bitlet/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/bitletorg/bitlet/issues/7/comments","events_url":"https://api.github.com/repos/bitletorg/bitlet/issues/7/events","html_url":"https://github.com/bitletorg/bitlet/pull/7","id":79364269,"number":7,"title":"InputStream does not need support mark/reset","user":{"login":"saper","id":248374,"avatar_url":"https://avatars.githubusercontent.com/u/248374?v=3","gravatar_id":"","url":"https://api.github.com/users/saper","html_url":"https://github.com/saper","followers_url":"https://api.github.com/users/saper/followers","following_url":"https://api.github.com/users/saper/following{/other_user}","gists_url":"https://api.github.com/users/saper/gists{/gist_id}","starred_url":"https://api.github.com/users/saper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saper/subscriptions","organizations_url":"https://api.github.com/users/saper/orgs","repos_url":"https://api.github.com/users/saper/repos","events_url":"https://api.github.com/users/saper/events{/privacy}","received_events_url":"https://api.github.com/users/saper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T08:58:37Z","updated_at":"2015-05-22T09:44:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitletorg/bitlet/pulls/7","html_url":"https://github.com/bitletorg/bitlet/pull/7","diff_url":"https://github.com/bitletorg/bitlet/pull/7.diff","patch_url":"https://github.com/bitletorg/bitlet/pull/7.patch"},"body":"Use lookahead variable to avoid using mark()/reset()\non the java.io.InputStream"},"comment":{"url":"https://api.github.com/repos/bitletorg/bitlet/issues/comments/104598307","html_url":"https://github.com/bitletorg/bitlet/pull/7#issuecomment-104598307","issue_url":"https://api.github.com/repos/bitletorg/bitlet/issues/7","id":104598307,"user":{"login":"saper","id":248374,"avatar_url":"https://avatars.githubusercontent.com/u/248374?v=3","gravatar_id":"","url":"https://api.github.com/users/saper","html_url":"https://github.com/saper","followers_url":"https://api.github.com/users/saper/followers","following_url":"https://api.github.com/users/saper/following{/other_user}","gists_url":"https://api.github.com/users/saper/gists{/gist_id}","starred_url":"https://api.github.com/users/saper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saper/subscriptions","organizations_url":"https://api.github.com/users/saper/orgs","repos_url":"https://api.github.com/users/saper/repos","events_url":"https://api.github.com/users/saper/events{/privacy}","received_events_url":"https://api.github.com/users/saper/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T09:44:04Z","updated_at":"2015-05-22T09:44:04Z","body":"This allows me to use Jython this way:\r\n\r\n````\r\nJython 2.5.3 (2.5:c56500f08d34+, Aug 13 2012, 14:48:36) \r\n[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.7.0_80\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> from  org.bitlet.wetorrent import *\r\n>>> mf = Metafile(file('/path/to/some.torrent'))  \r\n>>> mf.length\r\n99893498L\r\n````\r\n\r\n"}}