{"action":"opened","issue":{"url":"https://api.github.com/repos/dgrunwald/rust-cpython/issues/156","repository_url":"https://api.github.com/repos/dgrunwald/rust-cpython","labels_url":"https://api.github.com/repos/dgrunwald/rust-cpython/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/dgrunwald/rust-cpython/issues/156/comments","events_url":"https://api.github.com/repos/dgrunwald/rust-cpython/issues/156/events","html_url":"https://github.com/dgrunwald/rust-cpython/issues/156","id":367482191,"node_id":"MDU6SXNzdWUzNjc0ODIxOTE=","number":156,"title":"Heads up on mashup crate","user":{"login":"softprops","id":2242,"node_id":"MDQ6VXNlcjIyNDI=","avatar_url":"https://avatars3.githubusercontent.com/u/2242?v=4","gravatar_id":"","url":"https://api.github.com/users/softprops","html_url":"https://github.com/softprops","followers_url":"https://api.github.com/users/softprops/followers","following_url":"https://api.github.com/users/softprops/following{/other_user}","gists_url":"https://api.github.com/users/softprops/gists{/gist_id}","starred_url":"https://api.github.com/users/softprops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softprops/subscriptions","organizations_url":"https://api.github.com/users/softprops/orgs","repos_url":"https://api.github.com/users/softprops/repos","events_url":"https://api.github.com/users/softprops/events{/privacy}","received_events_url":"https://api.github.com/users/softprops/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-06T18:17:00Z","updated_at":"2018-10-06T18:17:00Z","closed_at":null,"author_association":"NONE","body":"I work on the lando crate, an extension of the crowbar crate which is a crate that uses your cpython bindings to generate dynamically linked rust bindings that can run on aws lambda. There's on implementation detail that's bubbled up through all three crates related to https://github.com/dgrunwald/rust-cpython/blob/3d826eb1d07b8fe927ef31a5a2beca4698b4be35/src/lib.rs#L219\r\n\r\nThis bubbles up to crowbar and lando as an awkward interface for initializing python modules given the identifier trio. I've become very familiar with the concat_idents macro while looking at this problem space and discovered a potential solution in a crate called [mashup](https://crates.io/crates/mashup). This crate allows you to dynamically generate idents on stable rust.\r\n\r\nI have a [working poc in my crate](https://github.com/softprops/lando/pull/25) and brought this up with the [crowbar folks](https://github.com/ilianaw/rust-crowbar/issues/50)\r\n\r\nSince is kind of relevant for anything using the cpython crate I wanted to draw some attention here to get it on your radar.\r\n\r\n"}}
{"actor":{"display_login":"softprops"}}