[Python-3000] adding @abstractmethods after class creation (original) (raw)
Steven Bethard steven.bethard at gmail.com
Wed Apr 25 04:56:10 CEST 2007
- Previous message: [Python-3000] adding @abstractmethods after class creation
- Next message: [Python-3000] adding @abstractmethods after class creation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 4/24/07, Calvin Spealman <ironfroggy at gmail.com> wrote:
Or could abstractmethods be created dynamically? Which would be used less, abstractmethods or setting class attributes, that it would be OK to be a bit slower?
I considered that, but abstractmethods gets checked at every class instantiation (as I understand it). That means that abstractmethods has to be fast. I assumed that was why Guido introduced it in the first place...
STeVe
I'm not in-sane. Indeed, I am so far out of sane that you appear a tiny blip on the distant coast of sanity. --- Bucky Katt, Get Fuzzy
- Previous message: [Python-3000] adding @abstractmethods after class creation
- Next message: [Python-3000] adding @abstractmethods after class creation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]