{"action":"created","issue":{"url":"https://api.github.com/repos/dahlia/libsass-python/issues/46","labels_url":"https://api.github.com/repos/dahlia/libsass-python/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/dahlia/libsass-python/issues/46/comments","events_url":"https://api.github.com/repos/dahlia/libsass-python/issues/46/events","html_url":"https://github.com/dahlia/libsass-python/issues/46","id":56702641,"number":46,"title":"Suggested api changes","user":{"login":"asottile","id":1810591,"avatar_url":"https://avatars.githubusercontent.com/u/1810591?v=3","gravatar_id":"","url":"https://api.github.com/users/asottile","html_url":"https://github.com/asottile","followers_url":"https://api.github.com/users/asottile/followers","following_url":"https://api.github.com/users/asottile/following{/other_user}","gists_url":"https://api.github.com/users/asottile/gists{/gist_id}","starred_url":"https://api.github.com/users/asottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asottile/subscriptions","organizations_url":"https://api.github.com/users/asottile/orgs","repos_url":"https://api.github.com/users/asottile/repos","events_url":"https://api.github.com/users/asottile/events{/privacy}","received_events_url":"https://api.github.com/users/asottile/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dahlia/libsass-python/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-05T17:36:51Z","updated_at":"2015-12-15T20:25:22Z","closed_at":null,"body":"I think it would simplify the code to expose the following instead of `compile`:\r\n\r\n```\r\ndef compile_string(s, **kwargs):\r\n    # ...\r\n\r\n# and\r\n\r\ndef compile_file(filename, **kwargs):\r\n    # ...\r\n```\r\n\r\nand drop `compile_directory` (libsass has [hard deprecated it](https://github.com/sass/libsass/blob/3.1.0/sass_interface.cpp#L272-L275))"},"comment":{"url":"https://api.github.com/repos/dahlia/libsass-python/issues/comments/164886631","html_url":"https://github.com/dahlia/libsass-python/issues/46#issuecomment-164886631","issue_url":"https://api.github.com/repos/dahlia/libsass-python/issues/46","id":164886631,"user":{"login":"mgreter","id":282293,"avatar_url":"https://avatars.githubusercontent.com/u/282293?v=3","gravatar_id":"","url":"https://api.github.com/users/mgreter","html_url":"https://github.com/mgreter","followers_url":"https://api.github.com/users/mgreter/followers","following_url":"https://api.github.com/users/mgreter/following{/other_user}","gists_url":"https://api.github.com/users/mgreter/gists{/gist_id}","starred_url":"https://api.github.com/users/mgreter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgreter/subscriptions","organizations_url":"https://api.github.com/users/mgreter/orgs","repos_url":"https://api.github.com/users/mgreter/repos","events_url":"https://api.github.com/users/mgreter/events{/privacy}","received_events_url":"https://api.github.com/users/mgreter/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T20:25:22Z","updated_at":"2015-12-15T20:25:22Z","body":"Libsass never implemented `compile_directory` and traces in the API will probably be removed completely. There are some internal refactorings pending which will remove this from the internal C++ API too. Was there anything related to this exposed on the C level? I was under the impression we could safely remove it from libsass."}}