{"action":"created","issue":{"url":"https://api.github.com/repos/amoffat/sh/issues/228","labels_url":"https://api.github.com/repos/amoffat/sh/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/amoffat/sh/issues/228/comments","events_url":"https://api.github.com/repos/amoffat/sh/issues/228/events","html_url":"https://github.com/amoffat/sh/pull/228","id":57126831,"number":228,"title":"Add *.pyc to .gitignore","user":{"login":"lencioni","id":195534,"avatar_url":"https://avatars.githubusercontent.com/u/195534?v=3","gravatar_id":"","url":"https://api.github.com/users/lencioni","html_url":"https://github.com/lencioni","followers_url":"https://api.github.com/users/lencioni/followers","following_url":"https://api.github.com/users/lencioni/following{/other_user}","gists_url":"https://api.github.com/users/lencioni/gists{/gist_id}","starred_url":"https://api.github.com/users/lencioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lencioni/subscriptions","organizations_url":"https://api.github.com/users/lencioni/orgs","repos_url":"https://api.github.com/users/lencioni/repos","events_url":"https://api.github.com/users/lencioni/events{/privacy}","received_events_url":"https://api.github.com/users/lencioni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-10T03:43:41Z","updated_at":"2015-02-10T18:24:43Z","closed_at":"2015-02-10T16:41:32Z","pull_request":{"url":"https://api.github.com/repos/amoffat/sh/pulls/228","html_url":"https://github.com/amoffat/sh/pull/228","diff_url":"https://github.com/amoffat/sh/pull/228.diff","patch_url":"https://github.com/amoffat/sh/pull/228.patch"},"body":"When using this repo as a git submodule, it can be annoying to have the\r\n.pyc files dirtying up the work tree. Adding them to the .gitignore file\r\nprevents this.\r\n\r\nFixes #227."},"comment":{"url":"https://api.github.com/repos/amoffat/sh/issues/comments/73753672","html_url":"https://github.com/amoffat/sh/pull/228#issuecomment-73753672","issue_url":"https://api.github.com/repos/amoffat/sh/issues/228","id":73753672,"user":{"login":"lencioni","id":195534,"avatar_url":"https://avatars.githubusercontent.com/u/195534?v=3","gravatar_id":"","url":"https://api.github.com/users/lencioni","html_url":"https://github.com/lencioni","followers_url":"https://api.github.com/users/lencioni/followers","following_url":"https://api.github.com/users/lencioni/following{/other_user}","gists_url":"https://api.github.com/users/lencioni/gists{/gist_id}","starred_url":"https://api.github.com/users/lencioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lencioni/subscriptions","organizations_url":"https://api.github.com/users/lencioni/orgs","repos_url":"https://api.github.com/users/lencioni/repos","events_url":"https://api.github.com/users/lencioni/events{/privacy}","received_events_url":"https://api.github.com/users/lencioni/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T18:24:43Z","updated_at":"2015-02-10T18:24:43Z","body":"I'm not that familiar with Python, so I could be way off here, but aren't `.pyc` files created when `.py` files are executed? I can understand not adding environment-specific files like `.DS_Store` and `.swp` to a `.gitignore` file, but `.pyc` files seem specific to this project. Again, I don't really know that much about Python, so it is likely that I am completely misunderstanding how these files come to be and their relationship with the project and environment."}}