{"action":"created","issue":{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/120","labels_url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/120/comments","events_url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/120/events","html_url":"https://github.com/IssueMigrationTest/Test5/issues/120","id":65113644,"number":120,"title":"Missing file_obj.xreadlines()","user":{"login":"ShedskinBot","id":11687421,"avatar_url":"https://avatars.githubusercontent.com/u/11687421?v=3","gravatar_id":"","url":"https://api.github.com/users/ShedskinBot","html_url":"https://github.com/ShedskinBot","followers_url":"https://api.github.com/users/ShedskinBot/followers","following_url":"https://api.github.com/users/ShedskinBot/following{/other_user}","gists_url":"https://api.github.com/users/ShedskinBot/gists{/gist_id}","starred_url":"https://api.github.com/users/ShedskinBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShedskinBot/subscriptions","organizations_url":"https://api.github.com/users/ShedskinBot/orgs","repos_url":"https://api.github.com/users/ShedskinBot/repos","events_url":"https://api.github.com/users/ShedskinBot/events{/privacy}","received_events_url":"https://api.github.com/users/ShedskinBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-30T01:07:49Z","updated_at":"2015-03-30T01:08:00Z","closed_at":null,"body":"**Issue by [Fahrzin Hemmati](/fahhem)**\n_5 Dec 2010 at 10:53 GMT_\n_Originally opened on Google Code_\n\n----\n\n```\nAny code with xreadlines() is confused by it and breaks:\n\nlines = open('file.txt','r').xreadlines()\nfor line in lines:\n    print line\n\nThat alone will not know the type of xreadlines, line, or lines, even though \nxreadlines returns an iterable that returns one line at a time. Basically it's \nan fgets operation on the open file. It's a Python 2.1 thing, so it should be \nin the purview of Shedskin.\n\nNo rush since .readlines() works alright, but .xreadlines() is necessary for \nreally large file that get read in bit by bit.\n```\n\n\n"},"comment":{"url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/comments/87506418","html_url":"https://github.com/IssueMigrationTest/Test5/issues/120#issuecomment-87506418","issue_url":"https://api.github.com/repos/IssueMigrationTest/Test5/issues/120","id":87506418,"user":{"login":"ShedskinBot","id":11687421,"avatar_url":"https://avatars.githubusercontent.com/u/11687421?v=3","gravatar_id":"","url":"https://api.github.com/users/ShedskinBot","html_url":"https://github.com/ShedskinBot","followers_url":"https://api.github.com/users/ShedskinBot/followers","following_url":"https://api.github.com/users/ShedskinBot/following{/other_user}","gists_url":"https://api.github.com/users/ShedskinBot/gists{/gist_id}","starred_url":"https://api.github.com/users/ShedskinBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShedskinBot/subscriptions","organizations_url":"https://api.github.com/users/ShedskinBot/orgs","repos_url":"https://api.github.com/users/ShedskinBot/repos","events_url":"https://api.github.com/users/ShedskinBot/events{/privacy}","received_events_url":"https://api.github.com/users/ShedskinBot/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T01:08:00Z","updated_at":"2015-03-30T01:08:00Z","body":"**Comment by [Mark Dufour](/srepmub)**\n_6 Dec 2010 at 10:34 GMT_\n\n----\n\n\n\n\n* Changed state: **Accepted**\n\n\n"}}