[OT] Re: challenging (?) metaclass problem

2006-04-11 Thread Peter Otten
[EMAIL PROTECTED] wrote: > I don't know if you noticed but i changed my mind and removed the post No, I didn't. It seems to be kept in the cache of my newsreader. > as i realised that people seemed to have much more interest in how > relevant c code still is than in solving an interesting proble

Re: challenging (?) metaclass problem

2006-04-11 Thread alainpoint
Hi Peter, I don't know if you noticed but i changed my mind and removed the post as i realised that people seemed to have much more interest in how relevant c code still is than in solving an interesting problem. I only speak French and Dutch and my knowledge of Belgium's third official language

Re: challenging (?) metaclass problem

2006-04-11 Thread alainpoint
Hi Peter, I don't know if you noticed but i changed my mind and removed the post as i realised that people seemed to have much more interest in how relevant c code still is than in solving an interesting problem. I only speak French and Dutch and my knowledge of Belgium's third official language

Re: challenging (?) metaclass problem

2006-04-10 Thread Peter Otten
[EMAIL PROTECTED] wrote: > I have what in my eyes seems a challenging problem. > Thanks to Peter Otten, i got the following code to work. It is a sort > of named tuple. Don't trust code posted in a newsgroup -- it may sometimes be quality-challenged :-) > Now my problem is the following. I want

Re: challenging (?) metaclass problem

2006-04-10 Thread alainpoint
Now, a tab-free version of my previous post. (Sorry for the inconvenience) Hi, I have what in my eyes seems a challenging problem. Thanks to Peter Otten, i got the following code to work. It is a sort of named tuple. from operator import itemgetter def constgetter(value): def get(self): r

challenging (?) metaclass problem

2006-04-10 Thread alainpoint
Hi, I have what in my eyes seems a challenging problem. Thanks to Peter Otten, i got the following code to work. It is a sort of named tuple. from operator import itemgetter def constgetter(value): def get(self): return value return get def createTuple(*names): class TupleT