Info needed on metaclasses
Aahz
aahzpy at panix.com
Sat Mar 23 10:19:40 EST 2002
More information about the Python-list mailing list
Sat Mar 23 10:19:40 EST 2002
- Previous message (by thread): two ideoms at one blow: line-reading and regexp-matching
- Next message (by thread): Info needed on metaclasses / type-ing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <a7i109$ufh$1 at ulysses.noc.ntua.gr>, Dimitris Garanatsios <rs96057 at hotmail.com> wrote: > >My question is about the "SingletonMetaClass" class. >I have tried in the past to create my own types using Python and just could >not find a way of doing that since built-in type objects' structure where >not documented. > >The "SingletonMetaClass though", as far as i can understand, please help me >with that, is doing exactly what i wanted: a new type definition. I browsed >Python's manuals to find more about the attributes and functions that are >used, but found nothing... You need to upgrade to Python 2.2 (or 2.2.1, which will be available within a month). If this is the first you've heard of 2.2, you're in for a *big* surprise. ;-) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "We should forget about small efficiencies, about 97% of the time. Premature optimization is the root of all evil." --Knuth
- Previous message (by thread): two ideoms at one blow: line-reading and regexp-matching
- Next message (by thread): Info needed on metaclasses / type-ing
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list