{"action":"created","issue":{"url":"https://api.github.com/repos/BD2KGenomics/toil/issues/1352","repository_url":"https://api.github.com/repos/BD2KGenomics/toil","labels_url":"https://api.github.com/repos/BD2KGenomics/toil/issues/1352/labels{/name}","comments_url":"https://api.github.com/repos/BD2KGenomics/toil/issues/1352/comments","events_url":"https://api.github.com/repos/BD2KGenomics/toil/issues/1352/events","html_url":"https://github.com/BD2KGenomics/toil/issues/1352","id":192696021,"number":1352,"title":"Can't defer to built-in functions","user":{"login":"hannes-ucsc","id":5143256,"avatar_url":"https://avatars.githubusercontent.com/u/5143256?v=3","gravatar_id":"","url":"https://api.github.com/users/hannes-ucsc","html_url":"https://github.com/hannes-ucsc","followers_url":"https://api.github.com/users/hannes-ucsc/followers","following_url":"https://api.github.com/users/hannes-ucsc/following{/other_user}","gists_url":"https://api.github.com/users/hannes-ucsc/gists{/gist_id}","starred_url":"https://api.github.com/users/hannes-ucsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannes-ucsc/subscriptions","organizations_url":"https://api.github.com/users/hannes-ucsc/orgs","repos_url":"https://api.github.com/users/hannes-ucsc/repos","events_url":"https://api.github.com/users/hannes-ucsc/events{/privacy}","received_events_url":"https://api.github.com/users/hannes-ucsc/received_events","type":"User","site_admin":false},"labels":[{"id":258030765,"url":"https://api.github.com/repos/BD2KGenomics/toil/labels/caching","name":"caching","color":"bfe5bf","default":false},{"id":193892636,"url":"https://api.github.com/repos/BD2KGenomics/toil/labels/enhancement","name":"enhancement","color":"ffffff","default":true},{"id":373957206,"url":"https://api.github.com/repos/BD2KGenomics/toil/labels/hotdeployment","name":"hotdeployment","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-30T22:17:16Z","updated_at":"2016-12-01T20:47:15Z","closed_at":null,"body":"This is introduced by my fix for #1308. A doctest revealed it:\n\nhttp://jenkins.cgcloud.info/job/toil-pull-requests/lastCompletedBuild/testReport/src.toil/fileStore/toil_fileStore_DeferredFunction/\n\nThe workaround is easy: just define a wrapper and defer to that.\n\nFor now I will change the doctest to implement the workaround."},"comment":{"url":"https://api.github.com/repos/BD2KGenomics/toil/issues/comments/264289977","html_url":"https://github.com/BD2KGenomics/toil/issues/1352#issuecomment-264289977","issue_url":"https://api.github.com/repos/BD2KGenomics/toil/issues/1352","id":264289977,"user":{"login":"hannes-ucsc","id":5143256,"avatar_url":"https://avatars.githubusercontent.com/u/5143256?v=3","gravatar_id":"","url":"https://api.github.com/users/hannes-ucsc","html_url":"https://github.com/hannes-ucsc","followers_url":"https://api.github.com/users/hannes-ucsc/followers","following_url":"https://api.github.com/users/hannes-ucsc/following{/other_user}","gists_url":"https://api.github.com/users/hannes-ucsc/gists{/gist_id}","starred_url":"https://api.github.com/users/hannes-ucsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hannes-ucsc/subscriptions","organizations_url":"https://api.github.com/users/hannes-ucsc/orgs","repos_url":"https://api.github.com/users/hannes-ucsc/repos","events_url":"https://api.github.com/users/hannes-ucsc/events{/privacy}","received_events_url":"https://api.github.com/users/hannes-ucsc/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T20:47:15Z","updated_at":"2016-12-01T20:47:15Z","body":"I should also qualify that this is ultimately caused by modules that aren't defined in a file. AFAIK, this applies to built-in functions, interactively defined ones, stuff run via `python -c` and doctests. Uses of `exec` and `eval` probably, too.\n\nThere needs to be a way to pass these through as if they \"belonged to Toil\"."}}
{"actor":{"display_login":"hannes-ucsc"}}