{"action":"created","issue":{"url":"https://api.github.com/repos/malthe/chameleon/issues/204","labels_url":"https://api.github.com/repos/malthe/chameleon/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/malthe/chameleon/issues/204/comments","events_url":"https://api.github.com/repos/malthe/chameleon/issues/204/events","html_url":"https://github.com/malthe/chameleon/issues/204","id":89976386,"number":204,"title":"python 3.5b2 EOF error in astutil.py","user":{"login":"bkc","id":119869,"avatar_url":"https://avatars.githubusercontent.com/u/119869?v=3","gravatar_id":"","url":"https://api.github.com/users/bkc","html_url":"https://github.com/bkc","followers_url":"https://api.github.com/users/bkc/followers","following_url":"https://api.github.com/users/bkc/following{/other_user}","gists_url":"https://api.github.com/users/bkc/gists{/gist_id}","starred_url":"https://api.github.com/users/bkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkc/subscriptions","organizations_url":"https://api.github.com/users/bkc/orgs","repos_url":"https://api.github.com/users/bkc/repos","events_url":"https://api.github.com/users/bkc/events{/privacy}","received_events_url":"https://api.github.com/users/bkc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-21T23:55:38Z","updated_at":"2015-06-22T09:00:20Z","closed_at":null,"body":"I've setup a basic pyramid server using pcreate -t alchemy   this downloaded waitress and chameleon\r\n\r\nafter fixing a one-line issue in waitress, testing the sample app generates the following partial traceback\r\n\r\n```\r\n File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/pyramid/renderers.py\", line 447, in render\r\n    result = renderer(value, system_values)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/pyramid_chameleon-0.3-py3.5.egg/pyramid_chameleon/zpt.py\", line 47, in __call__\r\n    result = self.template(**system)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/template.py\", line 124, in __call__\r\n    return self.render(**kwargs)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/zpt/template.py\", line 258, in render\r\n    return super(PageTemplate, self).render(**vars)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/template.py\", line 168, in render\r\n    self.cook_check()\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/template.py\", line 294, in cook_check\r\n    self.cook(body)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/pyramid_chameleon-0.3-py3.5.egg/pyramid_chameleon/zpt.py\", line 14, in cook\r\n    PageTemplateFile.cook(self, body)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/template.py\", line 146, in cook\r\n    program = self._cook(body, digest, names)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/template.py\", line 219, in _cook\r\n    source = self._make(body, builtins)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/template.py\", line 252, in _make\r\n    return self._compile(module, builtins)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/template.py\", line 246, in _compile\r\n    compiler = Compiler(self.engine, program, builtins, strict=self.strict)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/compiler.py\", line 925, in __init__\r\n    module.body += self.visit(node)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/compiler.py\", line 941, in visit\r\n    iterator = visitor(node)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/compiler.py\", line 979, in visit_Module\r\n    program = self.visit(node.program)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/compiler.py\", line 941, in visit\r\n    iterator = visitor(node)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/compiler.py\", line 998, in visit_MacroProgram\r\n    stmts = self.visit(macro)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/compiler.py\", line 942, in visit\r\n    return list(iterator)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/compiler.py\", line 1024, in visit_Macro\r\n    body += emit_func_convert(\"__convert\")\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/codegen.py\", line 81, in wrapper\r\n    expr = parse(source, mode=mode)\r\n  File \"/home/bkc/Python_Environments/D2DAdmin-py3.5/lib/python3.5/site-packages/Chameleon-2.22-py3.5.egg/chameleon/astutil.py\", line 48, in parse\r\n    return compile(source, '', mode, ast.PyCF_ONLY_AST)\r\n  File \"<string>\", line 5\r\n    def func(target):\r\n                    ^\r\nSyntaxError: unexpected EOF while parsing\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/malthe/chameleon/issues/comments/114045068","html_url":"https://github.com/malthe/chameleon/issues/204#issuecomment-114045068","issue_url":"https://api.github.com/repos/malthe/chameleon/issues/204","id":114045068,"user":{"login":"malthe","id":26405,"avatar_url":"https://avatars.githubusercontent.com/u/26405?v=3","gravatar_id":"","url":"https://api.github.com/users/malthe","html_url":"https://github.com/malthe","followers_url":"https://api.github.com/users/malthe/followers","following_url":"https://api.github.com/users/malthe/following{/other_user}","gists_url":"https://api.github.com/users/malthe/gists{/gist_id}","starred_url":"https://api.github.com/users/malthe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malthe/subscriptions","organizations_url":"https://api.github.com/users/malthe/orgs","repos_url":"https://api.github.com/users/malthe/repos","events_url":"https://api.github.com/users/malthe/events{/privacy}","received_events_url":"https://api.github.com/users/malthe/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T09:00:20Z","updated_at":"2015-06-22T09:00:20Z","body":"It must generate an incomplete file due to a new container AST node that is not supported yet. Let me investigate."}}