{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/8719","labels_url":"https://api.github.com/repos/sympy/sympy/issues/8719/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/8719/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/8719/events","html_url":"https://github.com/sympy/sympy/pull/8719","id":53181926,"number":8719,"title":"Add Positive assumption helper for gamma function, Fixes #8524 ","user":{"login":"aktech","id":5647941,"avatar_url":"https://avatars.githubusercontent.com/u/5647941?v=3","gravatar_id":"","url":"https://api.github.com/users/aktech","html_url":"https://github.com/aktech","followers_url":"https://api.github.com/users/aktech/followers","following_url":"https://api.github.com/users/aktech/following{/other_user}","gists_url":"https://api.github.com/users/aktech/gists{/gist_id}","starred_url":"https://api.github.com/users/aktech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aktech/subscriptions","organizations_url":"https://api.github.com/users/aktech/orgs","repos_url":"https://api.github.com/users/aktech/repos","events_url":"https://api.github.com/users/aktech/events{/privacy}","received_events_url":"https://api.github.com/users/aktech/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sympy/sympy/labels/Assumptions","name":"Assumptions","color":"eb6420"},{"url":"https://api.github.com/repos/sympy/sympy/labels/Needs+Better+Patch","name":"Needs Better Patch","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2014-12-31T12:32:03Z","updated_at":"2015-01-02T05:58:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sympy/sympy/pulls/8719","html_url":"https://github.com/sympy/sympy/pull/8719","diff_url":"https://github.com/sympy/sympy/pull/8719.diff","patch_url":"https://github.com/sympy/sympy/pull/8719.patch"},"body":"The Positive assumption helper for gamma function is missing:\r\nSo the the following code returns None:\r\n\r\n```python\r\n>>> n = Symbol('n', real=True, positive=True)\r\n>>> gamma(n).is_positive\r\n```\r\nWith this PR, Positive assumption works well for gamma function.\r\n\r\nFixes #8524 "},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/68510094","html_url":"https://github.com/sympy/sympy/pull/8719#issuecomment-68510094","issue_url":"https://api.github.com/repos/sympy/sympy/issues/8719","id":68510094,"user":{"login":"aktech","id":5647941,"avatar_url":"https://avatars.githubusercontent.com/u/5647941?v=3","gravatar_id":"","url":"https://api.github.com/users/aktech","html_url":"https://github.com/aktech","followers_url":"https://api.github.com/users/aktech/followers","following_url":"https://api.github.com/users/aktech/following{/other_user}","gists_url":"https://api.github.com/users/aktech/gists{/gist_id}","starred_url":"https://api.github.com/users/aktech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aktech/subscriptions","organizations_url":"https://api.github.com/users/aktech/orgs","repos_url":"https://api.github.com/users/aktech/repos","events_url":"https://api.github.com/users/aktech/events{/privacy}","received_events_url":"https://api.github.com/users/aktech/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T05:58:47Z","updated_at":"2015-01-02T05:58:47Z","body":"I hope this should be fine as these are unevaluated in gamma function.\r\n```python\r\n>> gamma(-2*pi)\r\n>> gamma(-2*pi)\r\n\r\n>> gamma(-pi/4)\r\n>> gamma(-pi/4)\r\n\r\n>> gamma(-pi/3)\r\n>> gamma(-pi/3)\r\n```\r\n@skirpichev \r\nIs that I am supposed to do?"}}