Kyle Schaffrick wrote:
>> > It starts with the code below, and the last two lines "in
>> > visit_select" and "in process" repeat indefinitely until the
>> > recursion error is generated
>> >
>
> ...is that these two stack frames are repeated until a stack overflow
> occurs, that is to say, process() and visit_select() form an infinite
> mutual recursion:

oh i glossed over the words "repeat indefinitely".

> My wild guess would be there is a reference cycle being introduced into
> an SA expression language structure that is causing the compiler's
> visitor code to chase its tail. I don't know if the compiler does cycle
> detection, if so perhaps this is a corner case that is getting past it.

yes the compiler isn't doing cycle detection.   its leaving that to the
recursion depth error to figure out.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to