{"action":"opened","issue":{"url":"https://api.github.com/repos/craftr-build/craftr/issues/40","labels_url":"https://api.github.com/repos/craftr-build/craftr/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/craftr-build/craftr/issues/40/comments","events_url":"https://api.github.com/repos/craftr-build/craftr/issues/40/events","html_url":"https://github.com/craftr-build/craftr/issues/40","id":122501901,"number":40,"title":"Fix recursive \"from\" imports","user":{"login":"NiklasRosenstein","id":1318438,"avatar_url":"https://avatars.githubusercontent.com/u/1318438?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasRosenstein","html_url":"https://github.com/NiklasRosenstein","followers_url":"https://api.github.com/users/NiklasRosenstein/followers","following_url":"https://api.github.com/users/NiklasRosenstein/following{/other_user}","gists_url":"https://api.github.com/users/NiklasRosenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasRosenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasRosenstein/subscriptions","organizations_url":"https://api.github.com/users/NiklasRosenstein/orgs","repos_url":"https://api.github.com/users/NiklasRosenstein/repos","events_url":"https://api.github.com/users/NiklasRosenstein/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasRosenstein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/craftr-build/craftr/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"NiklasRosenstein","id":1318438,"avatar_url":"https://avatars.githubusercontent.com/u/1318438?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasRosenstein","html_url":"https://github.com/NiklasRosenstein","followers_url":"https://api.github.com/users/NiklasRosenstein/followers","following_url":"https://api.github.com/users/NiklasRosenstein/following{/other_user}","gists_url":"https://api.github.com/users/NiklasRosenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasRosenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasRosenstein/subscriptions","organizations_url":"https://api.github.com/users/NiklasRosenstein/orgs","repos_url":"https://api.github.com/users/NiklasRosenstein/repos","events_url":"https://api.github.com/users/NiklasRosenstein/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasRosenstein/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-12-16T13:21:19Z","updated_at":"2015-12-16T13:21:19Z","closed_at":null,"body":"__`craftr.ext.platform`__\r\n\r\n```python\r\nif sys.platform.startswith('win32'):\r\n  # ...\r\n  from craftr.ext.compiler import msvc as toolset\r\n```\r\n\r\n__`craftr.ext.compiler.msvc`__\r\n\r\n```python\r\nfrom craftr.ext import platform\r\n```\r\n\r\nThis results in an `ImportError`. The `from craftr.ext import platform` looks for an attribute `platform` in the `craftr.ext` module rather than importing `craftr.ext.platform` (this is only done when the module was not already imported)."}}