On 10/13/05, Guido van Rossum <[EMAIL PROTECTED]> wrote:
>
> Indeed. I should've threatened to kill the AST branch long ago! :)

:-)

I decreased a lot of the memory leaks.  Here are some more to work on.
 I doubt this list is complete, but it's a start:

PyObject_Malloc (obmalloc.c:717)
_PyObject_DebugMalloc (obmalloc.c:1014)
compiler_enter_scope (newcompile.c:1204)
compiler_mod (newcompile.c:1894)
PyAST_Compile (newcompile.c:471)
Py_CompileStringFlags (pythonrun.c:1240)
builtin_compile (bltinmodule.c:391)


Tuple (Python-ast.c:907)
ast_for_testlist (ast.c:1782)
ast_for_classdef (ast.c:2677)
ast_for_stmt (ast.c:2758)
PyAST_FromNode (ast.c:233)
PyParser_ASTFromFile (pythonrun.c:1291)
parse_source_module (import.c:762)
load_source_module (import.c:886)


new_arena (obmalloc.c:500)
PyObject_Malloc (obmalloc.c:699)
PyObject_Realloc (obmalloc.c:837)
_PyObject_DebugRealloc (obmalloc.c:1077)
PyNode_AddChild (node.c:95)
shift (parser.c:112)
PyParser_AddToken (parser.c:244)
parsetok (parsetok.c:165)
PyParser_ParseFileFlags (parsetok.c:89)
PyParser_ASTFromFile (pythonrun.c:1288)
parse_source_module (import.c:762)
load_source_module (import.c:886)


Lambda (Python-ast.c:610)
ast_for_lambdef (ast.c:859)
ast_for_expr (ast.c:1443)
ast_for_testlist (ast.c:1776)
ast_for_expr_stmt (ast.c:1845)
ast_for_stmt (ast.c:2716)
PyAST_FromNode (ast.c:233)
PyParser_ASTFromString (pythonrun.c:1271)
Py_CompileStringFlags (pythonrun.c:1237)
builtin_compile (bltinmodule.c:391)


BinOp (Python-ast.c:557)
ast_for_binop (ast.c:1389)
ast_for_expr (ast.c:1531)
ast_for_testlist (ast.c:1776)
ast_for_expr_stmt (ast.c:1845)
ast_for_stmt (ast.c:2716)
PyAST_FromNode (ast.c:233)
PyParser_ASTFromString (pythonrun.c:1271)
Py_CompileStringFlags (pythonrun.c:1237)
builtin_compile (bltinmodule.c:391)


Name (Python-ast.c:865)
ast_for_atom (ast.c:1201)
ast_for_expr (ast.c:1555)
ast_for_testlist (ast.c:1776)
ast_for_expr_stmt (ast.c:1798)
ast_for_stmt (ast.c:2716)
PyAST_FromNode (ast.c:233)
PyParser_ASTFromString (pythonrun.c:1271)
Py_CompileStringFlags (pythonrun.c:1237)
builtin_compile (bltinmodule.c:391)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to