{"action":"created","issue":{"url":"https://api.github.com/repos/sagemath/sagenb/issues/355","labels_url":"https://api.github.com/repos/sagemath/sagenb/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/sagemath/sagenb/issues/355/comments","events_url":"https://api.github.com/repos/sagemath/sagenb/issues/355/events","html_url":"https://github.com/sagemath/sagenb/pull/355","id":121488929,"number":355,"title":"Improve %-directives","user":{"login":"jdemeyer","id":3625785,"avatar_url":"https://avatars.githubusercontent.com/u/3625785?v=3","gravatar_id":"","url":"https://api.github.com/users/jdemeyer","html_url":"https://github.com/jdemeyer","followers_url":"https://api.github.com/users/jdemeyer/followers","following_url":"https://api.github.com/users/jdemeyer/following{/other_user}","gists_url":"https://api.github.com/users/jdemeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/jdemeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdemeyer/subscriptions","organizations_url":"https://api.github.com/users/jdemeyer/orgs","repos_url":"https://api.github.com/users/jdemeyer/repos","events_url":"https://api.github.com/users/jdemeyer/events{/privacy}","received_events_url":"https://api.github.com/users/jdemeyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-10T13:49:25Z","updated_at":"2015-12-10T14:57:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sagemath/sagenb/pulls/355","html_url":"https://github.com/sagemath/sagenb/pull/355","diff_url":"https://github.com/sagemath/sagenb/pull/355.diff","patch_url":"https://github.com/sagemath/sagenb/pull/355.patch"},"body":"Generally improve %-directives:\r\n\r\n1. Allow `%foo` for any callable `foo` like in IPython: everything after `%foo` is a string which becomes the argument to `foo()`.\r\n\r\n2. Remove `%cython` as special case. Fixes #260.\r\n\r\n3. Remove the hack added for #290: do not strip leading white-space on the first line after the %-directive.\r\n\r\n4. Allow a one-line syntax like in SMC and IPython: `%time print 1`"},"comment":{"url":"https://api.github.com/repos/sagemath/sagenb/issues/comments/163650357","html_url":"https://github.com/sagemath/sagenb/pull/355#issuecomment-163650357","issue_url":"https://api.github.com/repos/sagemath/sagenb/issues/355","id":163650357,"user":{"login":"kcrisman","id":1775728,"avatar_url":"https://avatars.githubusercontent.com/u/1775728?v=3","gravatar_id":"","url":"https://api.github.com/users/kcrisman","html_url":"https://github.com/kcrisman","followers_url":"https://api.github.com/users/kcrisman/followers","following_url":"https://api.github.com/users/kcrisman/following{/other_user}","gists_url":"https://api.github.com/users/kcrisman/gists{/gist_id}","starred_url":"https://api.github.com/users/kcrisman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcrisman/subscriptions","organizations_url":"https://api.github.com/users/kcrisman/orgs","repos_url":"https://api.github.com/users/kcrisman/repos","events_url":"https://api.github.com/users/kcrisman/events{/privacy}","received_events_url":"https://api.github.com/users/kcrisman/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T14:57:51Z","updated_at":"2015-12-10T14:57:51Z","body":"Thanks for this.  Is is possible to add a test for Fortran compiling (or did we already have one for #290)?\r\n\r\nThis could conceivably also contribute to #344 or even just plain old fix it... or not."}}