[sqlalchemy] is sqlalchemy designed to work with gc turned on only ?

2010-02-10 Thread redfox
I`m interesting in one question (I didn`t find answer in docs): Is
sqlalchemy designed to work with gc turned on only or not (in other
words: Does the sqlalchemy free unused objects itself if gc turned off
or not) ?

-- 
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.



Re: [sqlalchemy] is sqlalchemy designed to work with gc turned on only ?

2010-02-10 Thread Michael Bayer

On Feb 10, 2010, at 11:12 AM, redfox wrote:

 I`m interesting in one question (I didn`t find answer in docs): Is
 sqlalchemy designed to work with gc turned on only or not (in other
 words: Does the sqlalchemy free unused objects itself if gc turned off
 or not) ?


All Python libraries I am familiar with are intended to work with GC on, 
including SQLAlchemy.  Some simpler libraries may be fine without GC turned on 
but that is not coverage we currently support in SQLAlchemy. The most we'd 
ever do is to eliminate all cycles within frequently created/dropped objects.   
This is currently largely the case although I can't speak for how complete that 
coverage is.

Note this does not include structural long-lasting objects like Table, 
MetaData, mapper(), etc., these very necessarily have cycles in them.



 
 -- 
 You received this message because you are subscribed to the Google Groups 
 sqlalchemy group.
 To post to this group, send email to sqlalch...@googlegroups.com.
 To unsubscribe from this group, send email to 
 sqlalchemy+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/sqlalchemy?hl=en.
 

-- 
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.