{"action":"created","issue":{"url":"https://api.github.com/repos/ponylang/rfcs/issues/103","repository_url":"https://api.github.com/repos/ponylang/rfcs","labels_url":"https://api.github.com/repos/ponylang/rfcs/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/ponylang/rfcs/issues/103/comments","events_url":"https://api.github.com/repos/ponylang/rfcs/issues/103/events","html_url":"https://github.com/ponylang/rfcs/pull/103","id":263274891,"number":103,"title":"Expose ponyc version to pony program","user":{"login":"nisanharamati","id":3074526,"avatar_url":"https://avatars1.githubusercontent.com/u/3074526?v=4","gravatar_id":"","url":"https://api.github.com/users/nisanharamati","html_url":"https://github.com/nisanharamati","followers_url":"https://api.github.com/users/nisanharamati/followers","following_url":"https://api.github.com/users/nisanharamati/following{/other_user}","gists_url":"https://api.github.com/users/nisanharamati/gists{/gist_id}","starred_url":"https://api.github.com/users/nisanharamati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nisanharamati/subscriptions","organizations_url":"https://api.github.com/users/nisanharamati/orgs","repos_url":"https://api.github.com/users/nisanharamati/repos","events_url":"https://api.github.com/users/nisanharamati/events{/privacy}","received_events_url":"https://api.github.com/users/nisanharamati/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-05T21:39:23Z","updated_at":"2017-10-06T19:58:07Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ponylang/rfcs/pulls/103","html_url":"https://github.com/ponylang/rfcs/pull/103","diff_url":"https://github.com/ponylang/rfcs/pull/103.diff","patch_url":"https://github.com/ponylang/rfcs/pull/103.patch"},"body":"Being able to determine the version of ponyc an application was compiled with could be helpful when handling bug reports and in cases where there can be confusion.\r\nIt would also be helpful in determining whether a particular application is vulnerable or sensitive to bugs that were fixed in a later ponyc version.\r\n\r\n[rendered](https://github.com/nisanharamati/rfcs/blob/6c7a82a7a4ec0fc4a68ced8fab3de6bd0a77ec99/text/0000-expose-ponyc-version-to-program.md)"},"comment":{"url":"https://api.github.com/repos/ponylang/rfcs/issues/comments/334855108","html_url":"https://github.com/ponylang/rfcs/pull/103#issuecomment-334855108","issue_url":"https://api.github.com/repos/ponylang/rfcs/issues/103","id":334855108,"user":{"login":"mfelsche","id":1152667,"avatar_url":"https://avatars0.githubusercontent.com/u/1152667?v=4","gravatar_id":"","url":"https://api.github.com/users/mfelsche","html_url":"https://github.com/mfelsche","followers_url":"https://api.github.com/users/mfelsche/followers","following_url":"https://api.github.com/users/mfelsche/following{/other_user}","gists_url":"https://api.github.com/users/mfelsche/gists{/gist_id}","starred_url":"https://api.github.com/users/mfelsche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfelsche/subscriptions","organizations_url":"https://api.github.com/users/mfelsche/orgs","repos_url":"https://api.github.com/users/mfelsche/repos","events_url":"https://api.github.com/users/mfelsche/events{/privacy}","received_events_url":"https://api.github.com/users/mfelsche/received_events","type":"User","site_admin":false},"created_at":"2017-10-06T19:58:07Z","updated_at":"2017-10-06T19:58:07Z","author_association":"NONE","body":"The use case for which i would love to have the pony version exposed is for having conditionals in my code based on the pony version, most likely ifdefs. This means exposing the pony version during compile time\r\n\r\nThis would make it possible to maintain compatibility between different pony versions within a single codebase; in a somewhat limited fashion: e.g. a breaking change like explicit partial calls might lead to horrible ifdef hell, but something like the recent changes to the Iter class should be easily handled by such a conditional on the pony version.\r\n\r\nI know this is a somewhat different story, as this requires the pony version to be exposed during compile time, not runtime and should be handled in another rfc. But i wanted to raise it here nonetheless."}}
{"actor":{"display_login":"mfelsche"}}