{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/11505","repository_url":"https://api.github.com/repos/sympy/sympy","labels_url":"https://api.github.com/repos/sympy/sympy/issues/11505/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/11505/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/11505/events","html_url":"https://github.com/sympy/sympy/issues/11505","id":170722690,"number":11505,"title":"Move check_assumptions into the main namespace","user":{"login":"asmeurer","id":71486,"avatar_url":"https://avatars.githubusercontent.com/u/71486?v=3","gravatar_id":"","url":"https://api.github.com/users/asmeurer","html_url":"https://github.com/asmeurer","followers_url":"https://api.github.com/users/asmeurer/followers","following_url":"https://api.github.com/users/asmeurer/following{/other_user}","gists_url":"https://api.github.com/users/asmeurer/gists{/gist_id}","starred_url":"https://api.github.com/users/asmeurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmeurer/subscriptions","organizations_url":"https://api.github.com/users/asmeurer/orgs","repos_url":"https://api.github.com/users/asmeurer/repos","events_url":"https://api.github.com/users/asmeurer/events{/privacy}","received_events_url":"https://api.github.com/users/asmeurer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sympy/sympy/labels/assumptions","name":"assumptions","color":"0000FF"},{"url":"https://api.github.com/repos/sympy/sympy/labels/Easy%20to%20Fix","name":"Easy to Fix","color":"009800"},{"url":"https://api.github.com/repos/sympy/sympy/labels/solvers.solve","name":"solvers.solve","color":"0000FF"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-11T19:11:42Z","updated_at":"2016-08-12T16:20:59Z","closed_at":null,"body":"sympy.solvers.check_assumptions checks if the given assumptions match a value. We should move that into the main namespace. It may also be useful to have a variant that checks a value against a variable/expression (the equivalent of `check_assumptions(val, **expr.assumptions0)`). Or maybe we just need to document that. "},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/239491618","html_url":"https://github.com/sympy/sympy/issues/11505#issuecomment-239491618","issue_url":"https://api.github.com/repos/sympy/sympy/issues/11505","id":239491618,"user":{"login":"asmeurer","id":71486,"avatar_url":"https://avatars.githubusercontent.com/u/71486?v=3","gravatar_id":"","url":"https://api.github.com/users/asmeurer","html_url":"https://github.com/asmeurer","followers_url":"https://api.github.com/users/asmeurer/followers","following_url":"https://api.github.com/users/asmeurer/following{/other_user}","gists_url":"https://api.github.com/users/asmeurer/gists{/gist_id}","starred_url":"https://api.github.com/users/asmeurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmeurer/subscriptions","organizations_url":"https://api.github.com/users/asmeurer/orgs","repos_url":"https://api.github.com/users/asmeurer/repos","events_url":"https://api.github.com/users/asmeurer/events{/privacy}","received_events_url":"https://api.github.com/users/asmeurer/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T16:20:59Z","updated_at":"2016-08-12T16:20:59Z","body":"I mean something like `check_assumptions(-1, Symbol('x', negative=True))`. "}}
{"actor":{"display_login":"asmeurer"}}