accessors and lazy initialization

Rene Pijlman reply.in.the.newsgroup at my.address.is.invalid
Fri Mar 10 19:10:25 CET 2006


Bill:
>In general I try to initialize the state of my objects as late as
>possible, in the accessor. [...]
>Is there a more Pythonic way of looking at this?

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/131495
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/363602

-- 
René Pijlman



More information about the Python-list mailing list