[Python-Dev] New Super PEP (original) (raw)
Jim Jewett jimjjewett at gmail.com
Sun Apr 29 22:31:33 CEST 2007
- Previous message: [Python-Dev] Python 2.5.1
- Next message: [Python-Dev] New Super PEP - draft 2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Phillip J. Eby wrote:
a call method, it will still be called, even if you override getattribute to return something else
dc = DoubleCall() dc() 'called!' dc.call() 'attribute'
That is sufficiently fragile that I would be uncomfortable with a feature that couldn't be supplied otherwise.
-jJ
- Previous message: [Python-Dev] Python 2.5.1
- Next message: [Python-Dev] New Super PEP - draft 2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]