{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/9219","labels_url":"https://api.github.com/repos/sympy/sympy/issues/9219/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/9219/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/9219/events","html_url":"https://github.com/sympy/sympy/pull/9219","id":65135490,"number":9219,"title":"Remove sympy.abc imports in assumptions","user":{"login":"toolforger","id":915906,"avatar_url":"https://avatars.githubusercontent.com/u/915906?v=3","gravatar_id":"","url":"https://api.github.com/users/toolforger","html_url":"https://github.com/toolforger","followers_url":"https://api.github.com/users/toolforger/followers","following_url":"https://api.github.com/users/toolforger/following{/other_user}","gists_url":"https://api.github.com/users/toolforger/gists{/gist_id}","starred_url":"https://api.github.com/users/toolforger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolforger/subscriptions","organizations_url":"https://api.github.com/users/toolforger/orgs","repos_url":"https://api.github.com/users/toolforger/repos","events_url":"https://api.github.com/users/toolforger/events{/privacy}","received_events_url":"https://api.github.com/users/toolforger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-30T04:57:20Z","updated_at":"2015-04-05T21:22:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sympy/sympy/pulls/9219","html_url":"https://github.com/sympy/sympy/pull/9219","diff_url":"https://github.com/sympy/sympy/pull/9219.diff","patch_url":"https://github.com/sympy/sympy/pull/9219.patch"},"body":"This is a toe-in-the-water commit to apply\r\nhttps://github.com/sympy/sympy/wiki/Idioms-and-Antipatterns#creating-symbols\r\n\r\nIf this is +1, I'll apply this to the other SymPy modules."},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/89853772","html_url":"https://github.com/sympy/sympy/pull/9219#issuecomment-89853772","issue_url":"https://api.github.com/repos/sympy/sympy/issues/9219","id":89853772,"user":{"login":"debugger22","id":2821646,"avatar_url":"https://avatars.githubusercontent.com/u/2821646?v=3","gravatar_id":"","url":"https://api.github.com/users/debugger22","html_url":"https://github.com/debugger22","followers_url":"https://api.github.com/users/debugger22/followers","following_url":"https://api.github.com/users/debugger22/following{/other_user}","gists_url":"https://api.github.com/users/debugger22/gists{/gist_id}","starred_url":"https://api.github.com/users/debugger22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/debugger22/subscriptions","organizations_url":"https://api.github.com/users/debugger22/orgs","repos_url":"https://api.github.com/users/debugger22/repos","events_url":"https://api.github.com/users/debugger22/events{/privacy}","received_events_url":"https://api.github.com/users/debugger22/received_events","type":"User","site_admin":false},"created_at":"2015-04-05T21:22:40Z","updated_at":"2015-04-05T21:22:40Z","body":"From the discussions on the mailing list, it looks like it should be replaced. I personally like `sympy.abc` method.\r\n\r\nIf we are concerned about the gotcha `from sympy.abc import *` will pollute the namespace, we can overcome this by introducing `__all__ = []` in `sympy/abc.py`.\r\nIt will result in following behavior:\r\n```\r\nIn [1]: from sympy.abc import *\r\n\r\nIn [2]: a\r\n---------------------------------------------------------------------------\r\nNameError                                 Traceback (most recent call last)\r\n<ipython-input-2-60b725f10c9c> in <module>()\r\n----> 1 a\r\n\r\nNameError: name 'a' is not defined\r\n\r\nIn [3]: from sympy.abc import a\r\n\r\nIn [4]: a\r\nOut[4]: a\r\n```"}}