Skip to content

python memory leak in dom.TreeBuilder #118

Description

@GoogleCodeExporter
html5lib/treebuilders/dom.py

on line 122:

def documentClass(self):
    self.dom = Dom.getDOMImplementation().createDocument(None,None,None)
    return self



and in file html5lib/treebuilders/_base.py
on line 131:

self.document = self.documentClass()

circular reference!

Original issue reported on code.google.com by devex.s...@gmail.com on 9 Oct 2009 at 5:56

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions