]> granicus.if.org Git - python/commit
Fix a couple of problems in generating the AST code:
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 26 Feb 2007 18:10:47 +0000 (18:10 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 26 Feb 2007 18:10:47 +0000 (18:10 +0000)
commit7b7d1c8282fa2599e2f132c401defde3c9b42e3f
treeb3b1755eb9bc44d73eac17fd8b23451ba578d245
parent1177bc4dfd74cc2671ccec26fd52d281c618e974
Fix a couple of problems in generating the AST code:
 * use %r instead of backticks since backticks are going away in Py3k
 * PyArena_Malloc() already sets PyErr_NoMemory so we don't need to do it again
 * the signature for ast2obj_int incorrectly used a bool, rather than a long
Parser/asdl_c.py
Python/Python-ast.c