{"action":"created","issue":{"url":"https://api.github.com/repos/rfk/pypyjs/issues/104","labels_url":"https://api.github.com/repos/rfk/pypyjs/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/rfk/pypyjs/issues/104/comments","events_url":"https://api.github.com/repos/rfk/pypyjs/issues/104/events","html_url":"https://github.com/rfk/pypyjs/issues/104","id":77317506,"number":104,"title":"vm.exec() with multiline is broken?!?","user":{"login":"jedie","id":71315,"avatar_url":"https://avatars.githubusercontent.com/u/71315?v=3","gravatar_id":"","url":"https://api.github.com/users/jedie","html_url":"https://github.com/jedie","followers_url":"https://api.github.com/users/jedie/followers","following_url":"https://api.github.com/users/jedie/following{/other_user}","gists_url":"https://api.github.com/users/jedie/gists{/gist_id}","starred_url":"https://api.github.com/users/jedie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedie/subscriptions","organizations_url":"https://api.github.com/users/jedie/orgs","repos_url":"https://api.github.com/users/jedie/repos","events_url":"https://api.github.com/users/jedie/events{/privacy}","received_events_url":"https://api.github.com/users/jedie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-17T14:10:05Z","updated_at":"2015-05-17T21:41:02Z","closed_at":"2015-05-17T21:41:02Z","body":"I'm work on a updated selenium unitests... But it seems that multiline code will not work anymore.\r\n\r\ne.g.:\r\n```\r\nvm.exec('print \"one\"\\nprint \"two\"');\r\n```\r\nwill result in:\r\n```\r\ndebug: OperationError:\r\ndebug:  operror-type: SyntaxError\r\ndebug:  operror-value: ('EOL while scanning string literal', ('c callback', 1, 6, 'exec \\'print \"one\"\\n', 0))\r\n>>>\r\n```\r\nnext try:\r\n```\r\nvm.exec('print \"one\"\\\\nprint \"two\"');\r\n```\r\nresult:\r\n```\r\ndebug: OperationError:\r\ndebug:  operror-type: SyntaxError\r\ndebug:  operror-value: ('Unknown character', ('<string>', 1, 12, 'print \"one\"\\\\nprint \"two\"\\n', 0))\r\n>>> \r\n```\r\n\r\nThis has been worked yesterday, isn't it?"},"comment":{"url":"https://api.github.com/repos/rfk/pypyjs/issues/comments/102861053","html_url":"https://github.com/rfk/pypyjs/issues/104#issuecomment-102861053","issue_url":"https://api.github.com/repos/rfk/pypyjs/issues/104","id":102861053,"user":{"login":"rfk","id":34695,"avatar_url":"https://avatars.githubusercontent.com/u/34695?v=3","gravatar_id":"","url":"https://api.github.com/users/rfk","html_url":"https://github.com/rfk","followers_url":"https://api.github.com/users/rfk/followers","following_url":"https://api.github.com/users/rfk/following{/other_user}","gists_url":"https://api.github.com/users/rfk/gists{/gist_id}","starred_url":"https://api.github.com/users/rfk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfk/subscriptions","organizations_url":"https://api.github.com/users/rfk/orgs","repos_url":"https://api.github.com/users/rfk/repos","events_url":"https://api.github.com/users/rfk/events{/privacy}","received_events_url":"https://api.github.com/users/rfk/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T21:41:02Z","updated_at":"2015-05-17T21:41:02Z","body":"Fixed by https://github.com/rfk/pypyjs/commit/c16548e95e03a755a3931f44be5fb343b228e513 in some simple tests; let me know if you run into any more cases where it's broken."}}