[Python-Dev] Re: method decorators (PEP 318) (original) (raw)
Paul Prescod paul at prescod.net
Sun Mar 28 14:43:21 EST 2004
- Previous message: [Python-Dev] Re: method decorators (PEP 318)
- Next message: [Python-Dev] Re: method decorators (PEP 318)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Bob Ippolito wrote:
...
Not to mention the fact that you'll have to start prefixing your function attributes so that you don't clash between decorators.. because of the flat namespace.
This is already the case today. doc is prefixed with "__". Python COM and PyXPCOM both use a single _. It is just the nature of function attributes and has nothing to do with whether they are used by decorators or frameworks invoked in some other way.
Paul Prescod
- Previous message: [Python-Dev] Re: method decorators (PEP 318)
- Next message: [Python-Dev] Re: method decorators (PEP 318)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]