Returning a list/dict as "read-only" from a method ? Thanks.
Az Tech
aztech1200 at yahoo.com
Fri Dec 27 09:26:28 EST 2002
More information about the Python-list mailing list
Fri Dec 27 09:26:28 EST 2002
- Previous message (by thread): Using Python for business app development
- Next message (by thread): BaseRequestHandler
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
bokr at oz.net (Bengt Richter) wrote in message news:<aufh6l$rvq$0 at 216.39.172.122>... > On 26 Dec 2002 05:31:07 -0800, aztech1200 at yahoo.com (Az Tech) wrote: > > >Hello group, > > > >Platform: ActivePython 2.2.1 on Windows 98 - but nothing OS-specific > >in the code. > >This question is about how to return a list/dictionary from a method > >(of a class) in such a way that it stays "read-only" to the caller - > >or any other technique that is equivalent in terms of effect. Read on Thanks, all people who replied - I got a variety of interesting solutions. I think I have enough leads to work on now. Have tried out some, will try out the others, then will summarize. Will also post more details of the intended usage as some have suggested. Az
- Previous message (by thread): Using Python for business app development
- Next message (by thread): BaseRequestHandler
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list