{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/10792","repository_url":"https://api.github.com/repos/sympy/sympy","labels_url":"https://api.github.com/repos/sympy/sympy/issues/10792/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/10792/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/10792/events","html_url":"https://github.com/sympy/sympy/pull/10792","id":140165997,"number":10792,"title":"integrals: Improved heurisch.py to get Unevaluated Integral Object of som…","user":{"login":"wrat","id":14222889,"avatar_url":"https://avatars.githubusercontent.com/u/14222889?v=3","gravatar_id":"","url":"https://api.github.com/users/wrat","html_url":"https://github.com/wrat","followers_url":"https://api.github.com/users/wrat/followers","following_url":"https://api.github.com/users/wrat/following{/other_user}","gists_url":"https://api.github.com/users/wrat/gists{/gist_id}","starred_url":"https://api.github.com/users/wrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrat/subscriptions","organizations_url":"https://api.github.com/users/wrat/orgs","repos_url":"https://api.github.com/users/wrat/repos","events_url":"https://api.github.com/users/wrat/events{/privacy}","received_events_url":"https://api.github.com/users/wrat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-11T11:53:30Z","updated_at":"2016-03-13T12:19:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sympy/sympy/pulls/10792","html_url":"https://github.com/sympy/sympy/pull/10792","diff_url":"https://github.com/sympy/sympy/pull/10792.diff","patch_url":"https://github.com/sympy/sympy/pull/10792.patch"},"body":"Integral: Updated heurisch.py to get Unevaluated Integral Object of Complex Expression\r\n\r\nAs we Know From Documentation That If ingrate() funtion is unable to solve any Integrand then it return its Unevaluated Integral Object .\r\nBut for Some Expression like x, log(x), xlog(x), log(xlog(x)), xlog(xlog(x)) ,xlog(xlog(x**log(x))),etc. so While Caculating Integration of this Expression heurisch.py raise a ValueError Execption from \" numer = ring.from_expr(raw_numer) \" .\r\nAs we can see these expression are not polynomial so code have to raise a PolynomialError which is caught by _eval_integral .\r\nSo I have changed some in code by which a PolynomialError raise and _eval_integral return a Unevaluated integral Object.\r\n>>> from sympy import*\r\n>>> from sympy import init_printing\r\n>>> init_printing(use_unicode=True)\r\n>>> x=symbols('x')\r\n>>> expr=x**log(x**log(x**log(x)))\r\n>>> expr#shows proper output\r\n>>> integrate(expr,x)#shows proper output not an exception\r\n>>>\r\n so as we can see Now we able to get unevaluated Integral Object.\r\n Previously it showing Error, issuse #10680."},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/195947324","html_url":"https://github.com/sympy/sympy/pull/10792#issuecomment-195947324","issue_url":"https://api.github.com/repos/sympy/sympy/issues/10792","id":195947324,"user":{"login":"wrat","id":14222889,"avatar_url":"https://avatars.githubusercontent.com/u/14222889?v=3","gravatar_id":"","url":"https://api.github.com/users/wrat","html_url":"https://github.com/wrat","followers_url":"https://api.github.com/users/wrat/followers","following_url":"https://api.github.com/users/wrat/following{/other_user}","gists_url":"https://api.github.com/users/wrat/gists{/gist_id}","starred_url":"https://api.github.com/users/wrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrat/subscriptions","organizations_url":"https://api.github.com/users/wrat/orgs","repos_url":"https://api.github.com/users/wrat/repos","events_url":"https://api.github.com/users/wrat/events{/privacy}","received_events_url":"https://api.github.com/users/wrat/received_events","type":"User","site_admin":false},"created_at":"2016-03-13T12:19:21Z","updated_at":"2016-03-13T12:19:21Z","body":"@jksuom  ping!!"}}