> if you'd like to submit a patch which defines __visit_name__ for all  
> ClauseElements and removes the logic from VisitableType to guess the  
> name, it will be accepted.  The second half of VisitableType still may  
> be needed since it improves performance.

Ok, I did it. Can not find where I can attach file to message in
google groups, so I put it in paste bin: http://paste.org/index.php?id=4463

I made some automated tests to make sure that nothing will break.
Existing Visitable's descendants after applying the patch will have
exactly the same value of __visit_name__ property. I also put small
test from first message in the topic. It fails with vanila trunk and
pass ok with patched.

Take a look, please.
--~--~---------~--~----~------------~-------~--~----~
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