Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python memory leak in dom.TreeBuilder #118

Open
GoogleCodeExporter opened this issue Mar 22, 2015 · 2 comments
Open

python memory leak in dom.TreeBuilder #118

GoogleCodeExporter opened this issue Mar 22, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 9 Oct 2009 at 5:56

@GoogleCodeExporter
Copy link
Author

patch for dom.py

Original comment by [email protected] on 11 Oct 2009 at 11:14

Attachments:

@GoogleCodeExporter
Copy link
Author

Committed/pushed. Thanks!

Original comment by geoffers on 18 Oct 2009 at 7:50

  • Changed state: fixed

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

No branches or pull requests

1 participant