>> itertools.count() which, I believe, is thread-safe.
>
>    On the other hand don't count on my words - Python documentation
> doesn't say anything about thread-safety of itertools.

In any case since itertools.count is already used in Declarative, I
guess there is no harm using it for an SQLObject-specific
DeclarativeMeta (I mean another instance of it of course).

Cheers,
Daniel

-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to