[Python-Dev] properties on modules? (original) (raw)

Neil Schemenauer nas@python.ca
Mon, 13 Jan 2003 09:34:20 -0800


It would be really cool if this worked:

import time now = property(lambda m: time.time())

Obviously a silly example but I hope the idea is clear. Is there a reason this couldn't be made to work?

Neil