{"action":"created","issue":{"url":"https://api.github.com/repos/SeattleTestbed/repy_v2/issues/71","labels_url":"https://api.github.com/repos/SeattleTestbed/repy_v2/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/SeattleTestbed/repy_v2/issues/71/comments","events_url":"https://api.github.com/repos/SeattleTestbed/repy_v2/issues/71/events","html_url":"https://github.com/SeattleTestbed/repy_v2/issues/71","id":34667215,"number":71,"title":"Tautologous Repy API definitions in repy.py","user":{"login":"choksi81","id":6935329,"avatar_url":"https://avatars.githubusercontent.com/u/6935329?v=3","gravatar_id":"","url":"https://api.github.com/users/choksi81","html_url":"https://github.com/choksi81","followers_url":"https://api.github.com/users/choksi81/followers","following_url":"https://api.github.com/users/choksi81/following{/other_user}","gists_url":"https://api.github.com/users/choksi81/gists{/gist_id}","starred_url":"https://api.github.com/users/choksi81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choksi81/subscriptions","organizations_url":"https://api.github.com/users/choksi81/orgs","repos_url":"https://api.github.com/users/choksi81/repos","events_url":"https://api.github.com/users/choksi81/events{/privacy}","received_events_url":"https://api.github.com/users/choksi81/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-05-30T17:58:44Z","updated_at":"2015-12-10T16:37:40Z","closed_at":null,"body":"At the time of writing (r6962), ```repy.py``` ([code here](source:seattle/branches/repy_v2/repy/repy.py)) calls ```namespace.wrap_and_insert_api_functions``` ([code here](source:seattle/branches/repy_v2/repy/namespace.py#L136)) with a nearly empty user context in order to let ```namespace``` set up the Repy API the user will use. ```repy.py``` however overwrites two definitions, ```getresources``` and ```createvirtualnamespace```, and also adds  a completely new one, ```getlasterror```.\r\n\r\nIn the comments in ```repy.py```, we have two places labelled \"BAD\" that seem to talk about removing those overwrites/adds as well as an import. In RepyV1, we only call ```namespace``` and don't overwrite/add things. My feeling is that we should remove the \"BAD\" stuff, and add ```getlasterror``` to ```namespace```, but I'd like to have a second opinion on that. "},"comment":{"url":"https://api.github.com/repos/SeattleTestbed/repy_v2/issues/comments/163680920","html_url":"https://github.com/SeattleTestbed/repy_v2/issues/71#issuecomment-163680920","issue_url":"https://api.github.com/repos/SeattleTestbed/repy_v2/issues/71","id":163680920,"user":{"login":"aaaaalbert","id":3806695,"avatar_url":"https://avatars.githubusercontent.com/u/3806695?v=3","gravatar_id":"","url":"https://api.github.com/users/aaaaalbert","html_url":"https://github.com/aaaaalbert","followers_url":"https://api.github.com/users/aaaaalbert/followers","following_url":"https://api.github.com/users/aaaaalbert/following{/other_user}","gists_url":"https://api.github.com/users/aaaaalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/aaaaalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaaaalbert/subscriptions","organizations_url":"https://api.github.com/users/aaaaalbert/orgs","repos_url":"https://api.github.com/users/aaaaalbert/repos","events_url":"https://api.github.com/users/aaaaalbert/events{/privacy}","received_events_url":"https://api.github.com/users/aaaaalbert/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T16:37:40Z","updated_at":"2015-12-10T16:37:40Z","body":"FWIW, this issue will be fixed by some additional fixes to namespace wrapping that I'm developing over here, https://github.com/aaaaalbert/repy_v2/tree/fix-namespace-wrapping"}}