Comment 5 for bug 525808

Revision history for this message
Borja López Soilán (NeoPolus) (borjals) wrote :

Wow, I hadn't noticed this weird 'feature' of Python that can cause so much havoc.

It isn't even listed on this Strangest language feature collection: http://stackoverflow.com/questions/1995113

Maybe this is the root cause of some not-freeing-memory problems I have seen when doing batch imports into OpenERP. After all, if you pass a BrowseObject into the context of a method with this problem, and never call again that method... the BrowseObject (and all the child objects) will never be freed!