On Feb 12, 2008 11:54 AM, Ryszard Szopa <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I've noticed that if I define a custom __hash__ method for Entity
> subclasses, strange things start to happen (for example, ManyToOne
> relationships seem broken). Why is that? Is there any safe way to
> define custom __hash__ methods for Entity objects?

All I know is that this problem was supposed to be fixed in SQLAlchemy
0.4.1 (see http://www.sqlalchemy.org/CHANGES). If you are using an
earlier version, upgrading is probably the solution, otherwise, there
is still a bug somewhere which should be reported with a test case.

-- 
Gaƫtan de Menten
http://openhex.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" 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/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to