Re: [Python-Dev] Adding functools.decorator

2006-04-30 Thread Simon Belak
Nick Coghlan wrote: > Some details that are up for discussion: > > - which of a function's special attributes should be copied/updated? > - should the __decorates__ and __decorator__ attributes be added? > > If people are happy with this idea, I can make sure it happens before > alpha > 3. Wh

[Python-Dev] A solution to the evils of static typing and interfaces?

2005-10-20 Thread Simon Belak
Hi, I was thinking why not have a separate file for all the proposed optional meta-information (in particular interfaces, static types)? Something along the lines of IDLs in CORBA (with pythonic syntax, of curse). This way most of the benefits are retained without "contaminating" the actual sy