Re: Possible to create a read-only complex object?

2010-07-12 Thread geremy condra
On Mon, Jul 12, 2010 at 3:45 AM, Steven D'Aprano wrote: > On Mon, 12 Jul 2010 02:56:34 -0400, Terry Reedy wrote: > >> On 7/11/2010 12:51 PM, pyt...@bdurham.com wrote: >>> I have a complex object with attributes that contain lists, sets, >>> dictionaries, and other objects. The lists and dictionari

Re: Possible to create a read-only complex object?

2010-07-12 Thread Steven D'Aprano
On Mon, 12 Jul 2010 01:11:53 -0700, Chris Rebert wrote: > On Mon, Jul 12, 2010 at 12:45 AM, Steven D'Aprano > wrote: >> On Mon, 12 Jul 2010 02:56:34 -0400, Terry Reedy wrote: >>> On 7/11/2010 12:51 PM, pyt...@bdurham.com wrote: I have a complex object with attributes that contain lists, sets

Re: Possible to create a read-only complex object?

2010-07-12 Thread Chris Rebert
On Mon, Jul 12, 2010 at 12:45 AM, Steven D'Aprano wrote: > On Mon, 12 Jul 2010 02:56:34 -0400, Terry Reedy wrote: >> On 7/11/2010 12:51 PM, pyt...@bdurham.com wrote: >>> I have a complex object with attributes that contain lists, sets, >>> dictionaries, and other objects. The lists and dictionarie

Re: Possible to create a read-only complex object?

2010-07-12 Thread Steven D'Aprano
On Mon, 12 Jul 2010 02:56:34 -0400, Terry Reedy wrote: > On 7/11/2010 12:51 PM, pyt...@bdurham.com wrote: >> I have a complex object with attributes that contain lists, sets, >> dictionaries, and other objects. The lists and dictionaries may >> themselves contain complex objects. >> I would like t

Re: Possible to create a read-only complex object?

2010-07-12 Thread Terry Reedy
On 7/11/2010 12:51 PM, pyt...@bdurham.com wrote: I have a complex object with attributes that contain lists, sets, dictionaries, and other objects. The lists and dictionaries may themselves contain complex objects. I would like to provide a read-only version of this type of object for other devel

Re: Possible to create a read-only complex object?

2010-07-11 Thread Chris Rebert
On Sun, Jul 11, 2010 at 9:51 AM, wrote: > I have a complex object with attributes that contain lists, sets, > dictionaries, and other objects. The lists and dictionaries may themselves > contain complex objects. > > I would like to provide a read-only version of this type of object for other > de

Possible to create a read-only complex object?

2010-07-11 Thread python
I have a complex object with attributes that contain lists, sets, dictionaries, and other objects. The lists and dictionaries may themselves contain complex objects. I would like to provide a read-only version of this type of object for other developers to query for reporting. Is there a way to p