Closed ronaldoussoren closed 9 years ago
Original comment by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).
Thanks for a given a specific example. That should make it a lot easier to find a fix.
Original comment by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).
This is pretty annoying, idna.idnadata defines a data structure using large expression. Using ast.NodeVisitor on the AST for that expression causes too deep recursion, hence the runtime error.
The code in py2app that uses the NodeVisitor needs to be rewritten to avoid using that much stack space.
Original comment by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).
Just avoiding recursion for expressions should be good enough. I'll push a fix later today.
Original comment by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).
Modules that have deeply nested AST trees caused RuntimeErrors due to too much recursion.
Fixes #25
Original report by Glyph (Bitbucket: Glyph, GitHub: Glyph).