{"action":"created","issue":{"url":"https://api.github.com/repos/cython/cython/issues/2310","repository_url":"https://api.github.com/repos/cython/cython","labels_url":"https://api.github.com/repos/cython/cython/issues/2310/labels{/name}","comments_url":"https://api.github.com/repos/cython/cython/issues/2310/comments","events_url":"https://api.github.com/repos/cython/cython/issues/2310/events","html_url":"https://github.com/cython/cython/issues/2310","id":329246484,"node_id":"MDU6SXNzdWUzMjkyNDY0ODQ=","number":2310,"title":"cimport from a raw directory (to emulate the namespace package functionality in CPython 3.3+)","user":{"login":"newt0311","id":24376349,"node_id":"MDQ6VXNlcjI0Mzc2MzQ5","avatar_url":"https://avatars2.githubusercontent.com/u/24376349?v=4","gravatar_id":"","url":"https://api.github.com/users/newt0311","html_url":"https://github.com/newt0311","followers_url":"https://api.github.com/users/newt0311/followers","following_url":"https://api.github.com/users/newt0311/following{/other_user}","gists_url":"https://api.github.com/users/newt0311/gists{/gist_id}","starred_url":"https://api.github.com/users/newt0311/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newt0311/subscriptions","organizations_url":"https://api.github.com/users/newt0311/orgs","repos_url":"https://api.github.com/users/newt0311/repos","events_url":"https://api.github.com/users/newt0311/events{/privacy}","received_events_url":"https://api.github.com/users/newt0311/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-04T23:03:36Z","updated_at":"2018-06-07T00:02:03Z","closed_at":"2018-06-07T00:02:03Z","author_association":"CONTRIBUTOR","body":"Hello,\r\n\r\nI'd like to use namespace package like functionality when using cimport. I think most of the pieces are there already. It seems like just changing \"check_package_dir\" in Utils.py to not check for __init__ files would be sufficient?\r\n\r\nAlso I noticed that the pyx search (find_pyx_file in Main.py) doesn't keep the sys_path argument. Is there a reason for that?\r\n\r\nI wasn't sure what the impact of these changes would be so I wanted your thoughts before submitting a PR.\r\n\r\nThanks.\r\n-- PG"},"comment":{"url":"https://api.github.com/repos/cython/cython/issues/comments/395250815","html_url":"https://github.com/cython/cython/issues/2310#issuecomment-395250815","issue_url":"https://api.github.com/repos/cython/cython/issues/2310","id":395250815,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTI1MDgxNQ==","user":{"login":"robertwb","id":486017,"node_id":"MDQ6VXNlcjQ4NjAxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/486017?v=4","gravatar_id":"","url":"https://api.github.com/users/robertwb","html_url":"https://github.com/robertwb","followers_url":"https://api.github.com/users/robertwb/followers","following_url":"https://api.github.com/users/robertwb/following{/other_user}","gists_url":"https://api.github.com/users/robertwb/gists{/gist_id}","starred_url":"https://api.github.com/users/robertwb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertwb/subscriptions","organizations_url":"https://api.github.com/users/robertwb/orgs","repos_url":"https://api.github.com/users/robertwb/repos","events_url":"https://api.github.com/users/robertwb/events{/privacy}","received_events_url":"https://api.github.com/users/robertwb/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T00:02:03Z","updated_at":"2018-06-07T00:02:03Z","author_association":"CONTRIBUTOR","body":"I think we need the `__init__` files to discover the package root and resolve absolute to relative imports. We also don't want to diverge from Python here. Sounds like a good topic for the dev list. "}}
{"actor":{"display_login":"robertwb"}}