{"action":"created","issue":{"url":"https://api.github.com/repos/visualfabriq/bquery/issues/16","labels_url":"https://api.github.com/repos/visualfabriq/bquery/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/visualfabriq/bquery/issues/16/comments","events_url":"https://api.github.com/repos/visualfabriq/bquery/issues/16/events","html_url":"https://github.com/visualfabriq/bquery/pull/16","id":58336469,"number":16,"title":"Jinja","user":{"login":"FrancescElies","id":6558089,"avatar_url":"https://avatars.githubusercontent.com/u/6558089?v=3","gravatar_id":"","url":"https://api.github.com/users/FrancescElies","html_url":"https://github.com/FrancescElies","followers_url":"https://api.github.com/users/FrancescElies/followers","following_url":"https://api.github.com/users/FrancescElies/following{/other_user}","gists_url":"https://api.github.com/users/FrancescElies/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancescElies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancescElies/subscriptions","organizations_url":"https://api.github.com/users/FrancescElies/orgs","repos_url":"https://api.github.com/users/FrancescElies/repos","events_url":"https://api.github.com/users/FrancescElies/events{/privacy}","received_events_url":"https://api.github.com/users/FrancescElies/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-20T10:56:09Z","updated_at":"2015-03-09T09:38:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/visualfabriq/bquery/pulls/16","html_url":"https://github.com/visualfabriq/bquery/pull/16","diff_url":"https://github.com/visualfabriq/bquery/pull/16.diff","patch_url":"https://github.com/visualfabriq/bquery/pull/16.patch"},"body":"Explored an idea @esc proposed in https://groups.google.com/forum/#!msg/bcolz/kGjWKVuQG8s/NZ6IQz85qvgJ using jinja templates for producing cython code. This would help maintenance "},"comment":{"url":"https://api.github.com/repos/visualfabriq/bquery/issues/comments/77823697","html_url":"https://github.com/visualfabriq/bquery/pull/16#issuecomment-77823697","issue_url":"https://api.github.com/repos/visualfabriq/bquery/issues/16","id":77823697,"user":{"login":"esc","id":41563,"avatar_url":"https://avatars.githubusercontent.com/u/41563?v=3","gravatar_id":"","url":"https://api.github.com/users/esc","html_url":"https://github.com/esc","followers_url":"https://api.github.com/users/esc/followers","following_url":"https://api.github.com/users/esc/following{/other_user}","gists_url":"https://api.github.com/users/esc/gists{/gist_id}","starred_url":"https://api.github.com/users/esc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esc/subscriptions","organizations_url":"https://api.github.com/users/esc/orgs","repos_url":"https://api.github.com/users/esc/repos","events_url":"https://api.github.com/users/esc/events{/privacy}","received_events_url":"https://api.github.com/users/esc/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T09:38:19Z","updated_at":"2015-03-09T09:38:19Z","body":"I just had a glance and this looks exactly like what I was thinking. Using the control statements of Jinja too! I like! \r\n\r\nAs for the debugging, this may make it easier to debug, since we can generate the cython sources and they actually remain legible. I should image that this might help. It's certainly going to make it easier to debug compared to using raw C and macros for metaprogramming(if that is even the right term). Not yet sure how one would integrate this build step into the ``setup.py`` but that is somewhat secondary right now.\r\n\r\nAlso note that this is a very uncommon or novel approach -- at least I haven't heard of anyone doing it like this. As such we may encounter criticism and potentially pitfalls that we have not anticipated. "}}