Adam DePrince wrote:
> Views
> are not generated, they are either directly implemented, or returned.

If you're thinking that the object would keep a set of
pre-allocated views, there's a problem with that --
the views need to have a reference to the base object,
thus creating a circular reference.

The object could perhaps keep a cache of weakly-
referenced views, returning one of those if it's
available, otherwise creating a new one.

--
Greg

_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to