{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/12099","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/12099/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/12099/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/12099/events","html_url":"https://github.com/godotengine/godot/pull/12099","id":265515928,"number":12099,"title":"Changes the modulo operator to act like the python one","user":{"login":"groud","id":6093119,"avatar_url":"https://avatars0.githubusercontent.com/u/6093119?v=4","gravatar_id":"","url":"https://api.github.com/users/groud","html_url":"https://github.com/groud","followers_url":"https://api.github.com/users/groud/followers","following_url":"https://api.github.com/users/groud/following{/other_user}","gists_url":"https://api.github.com/users/groud/gists{/gist_id}","starred_url":"https://api.github.com/users/groud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groud/subscriptions","organizations_url":"https://api.github.com/users/groud/orgs","repos_url":"https://api.github.com/users/groud/repos","events_url":"https://api.github.com/users/groud/events{/privacy}","received_events_url":"https://api.github.com/users/groud/received_events","type":"User","site_admin":false},"labels":[{"id":73330066,"url":"https://api.github.com/repos/godotengine/godot/labels/enhancement","name":"enhancement","color":"44bbff","default":true},{"id":279097966,"url":"https://api.github.com/repos/godotengine/godot/labels/topic:core","name":"topic:core","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/godotengine/godot/milestones/4","html_url":"https://github.com/godotengine/godot/milestone/4","labels_url":"https://api.github.com/repos/godotengine/godot/milestones/4/labels","id":1449702,"number":4,"title":"3.0","description":"","creator":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars0.githubusercontent.com/u/4701338?v=4","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"open_issues":329,"closed_issues":3011,"state":"open","created_at":"2015-12-08T11:42:08Z","updated_at":"2017-10-14T19:18:45Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-10-14T19:07:17Z","updated_at":"2017-10-14T19:20:08Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/godotengine/godot/pulls/12099","html_url":"https://github.com/godotengine/godot/pull/12099","diff_url":"https://github.com/godotengine/godot/pull/12099.diff","patch_url":"https://github.com/godotengine/godot/pull/12099.patch"},"body":"Following the discussion in #12035, I open a new PR to discuss replacing the behaviour of modulo by its more pythonic version. With this PR we will have `-20 % 100` returning `80` instead of `-20`.\r\n\r\nTo understand the problem a little bit more, you can read [this thread in stackoverflow](https://stackoverflow.com/questions/1907565/c-python-different-behaviour-of-the-modulo-operation).\r\n\r\nI think this deserves a review from @reduz. ;)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/336660603","html_url":"https://github.com/godotengine/godot/pull/12099#issuecomment-336660603","issue_url":"https://api.github.com/repos/godotengine/godot/issues/12099","id":336660603,"user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars0.githubusercontent.com/u/4701338?v=4","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"created_at":"2017-10-14T19:20:08Z","updated_at":"2017-10-14T19:20:08Z","author_association":"OWNER","body":"I'd like @tagcup's opinion too :)"}}
{"actor":{"display_login":"akien-mga"}}