{"action":"created","issue":{"url":"https://api.github.com/repos/pythonprofilers/memory_profiler/issues/193","repository_url":"https://api.github.com/repos/pythonprofilers/memory_profiler","labels_url":"https://api.github.com/repos/pythonprofilers/memory_profiler/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/pythonprofilers/memory_profiler/issues/193/comments","events_url":"https://api.github.com/repos/pythonprofilers/memory_profiler/issues/193/events","html_url":"https://github.com/pythonprofilers/memory_profiler/issues/193","id":306895528,"number":193,"title":"Profiling third-party code (Non-decorator interface)","user":{"login":"skatenerd","id":880217,"avatar_url":"https://avatars3.githubusercontent.com/u/880217?v=4","gravatar_id":"","url":"https://api.github.com/users/skatenerd","html_url":"https://github.com/skatenerd","followers_url":"https://api.github.com/users/skatenerd/followers","following_url":"https://api.github.com/users/skatenerd/following{/other_user}","gists_url":"https://api.github.com/users/skatenerd/gists{/gist_id}","starred_url":"https://api.github.com/users/skatenerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skatenerd/subscriptions","organizations_url":"https://api.github.com/users/skatenerd/orgs","repos_url":"https://api.github.com/users/skatenerd/repos","events_url":"https://api.github.com/users/skatenerd/events{/privacy}","received_events_url":"https://api.github.com/users/skatenerd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-20T14:41:47Z","updated_at":"2018-03-20T14:45:52Z","closed_at":"2018-03-20T14:45:52Z","author_association":"NONE","body":"I'd like to profile some third-party code (imported by my own code).\r\n\r\nI'm wondering if there's way to do something like the following, where I get line-by-line analysis of `bar`?\r\n\r\n```\r\nfrom foo import bar\r\nprofile(bar)\r\n\r\ndef my_code():\r\n  do_stuff()\r\n  bar()\r\n```\r\n\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/pythonprofilers/memory_profiler/issues/comments/374624382","html_url":"https://github.com/pythonprofilers/memory_profiler/issues/193#issuecomment-374624382","issue_url":"https://api.github.com/repos/pythonprofilers/memory_profiler/issues/193","id":374624382,"user":{"login":"skatenerd","id":880217,"avatar_url":"https://avatars3.githubusercontent.com/u/880217?v=4","gravatar_id":"","url":"https://api.github.com/users/skatenerd","html_url":"https://github.com/skatenerd","followers_url":"https://api.github.com/users/skatenerd/followers","following_url":"https://api.github.com/users/skatenerd/following{/other_user}","gists_url":"https://api.github.com/users/skatenerd/gists{/gist_id}","starred_url":"https://api.github.com/users/skatenerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skatenerd/subscriptions","organizations_url":"https://api.github.com/users/skatenerd/orgs","repos_url":"https://api.github.com/users/skatenerd/repos","events_url":"https://api.github.com/users/skatenerd/events{/privacy}","received_events_url":"https://api.github.com/users/skatenerd/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T14:45:52Z","updated_at":"2018-03-20T14:45:52Z","author_association":"NONE","body":"Ah, I think I just have to say `replacement_bar = profile(bar)`, and later just use `replacement_bar`.  "}}
{"actor":{"display_login":"skatenerd"}}