Re: [BangPypers] Any python metaclasses for UID

2009-07-30 Thread Noufal Ibrahim
On Thu, Jul 30, 2009 at 8:18 AM, Roshan Mathewsrmath...@gmail.com wrote: [..]  Something which Noufal seemed to pull out of thin air. Someone had to do it. -- ~noufal http://nibrahim.net.in ___ BangPypers mailing list BangPypers@python.org

[BangPypers] Any python metaclasses for UID

2009-07-30 Thread Shivaraj M S
One more typo Of Inheritances and diamonds,* * Mac().os.compatibility *is Mac(FreeBSD,Mach).os.compatibility * * * * * *quote(nouful): Why don't you try converting Gates to a factory* * * Well, the factories is what implements Gates since Gates is closed as is Winds often seen cracked before

[BangPypers] Any python metaclasses for UID

2009-07-29 Thread Shivaraj M S
A small typo there super(UID,self).Wind(7) *is* super(ClassI,self).Wind(7) Well google's is doing definitely a strong attempt here. I guess it's metaprogramming than metaclassing. Class GoogleOS(OS): def __init__(self): self.official.languages = ['c++','java','python']

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Rajeev J Sebastian
On Wed, Jul 29, 2009 at 12:58 PM, Shivaraj M Sshivraj...@gmail.com wrote: A small typo there super(UID,self).Wind(7)  is super(ClassI,self).Wind(7) Well google's is doing definitely a strong attempt here. I guess it's metaprogramming than metaclassing. Class GoogleOS(OS):          def

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Noufal Ibrahim
On Wed, Jul 29, 2009 at 12:58 PM, Shivaraj M Sshivraj...@gmail.com wrote: A small typo there But an important one. super(UID,self).Wind(7)  is super(ClassI,self).Wind(7) Well google's is doing definitely a strong attempt here. I guess it's metaprogramming than metaclassing. Nonsense. It's

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Roshan Mathews
I think I just fell down the rabbit hole. On Wed, Jul 29, 2009 at 10:17 PM, Noufal Ibrahimnou...@gmail.com wrote: On Wed, Jul 29, 2009 at 12:58 PM, Shivaraj M Sshivraj...@gmail.com wrote: A small typo there But an important one. super(UID,self).Wind(7)  is super(ClassI,self).Wind(7) Well

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Gora Mohanty
On Wed, 29 Jul 2009 23:26:17 +0530 Noufal Ibrahim nou...@gmail.com wrote: On Wed, Jul 29, 2009 at 10:20 PM, Roshan Mathewsrmath...@gmail.com wrote: I think I just fell down the rabbit hole. The time has come the Walrus said to speak of many things! Of atoms, and stars, and nebulae, Of

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Baishampayan Ghose
I think I just fell down the rabbit hole. I think BangPypers just got its own John Harrop. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Baishampayan Ghose
I didn't call _you_ Jo[h]n Harrop, man :) I called the OP a troll because his question is pretty much meaningless and is causing unnecessary irritation. May be it was because of the way I quoted the mail. Sorry for the confusion :-p Regards, BG On 7/30/09, Roshan Mathews rmath...@gmail.com

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Kenneth Gonsalves
On Thursday 30 Jul 2009 9:31:40 am Baishampayan Ghose wrote: May be it was because of the way I quoted the mail. Sorry for the confusion :-p top posting almost invariably causes confusion - an excellent way of making sure no one knows what you are talking about -- regards Kenneth Gonsalves

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Roshan Mathews
On Thu, Jul 30, 2009 at 9:31 AM, Baishampayan Ghoseb.gh...@gmail.com wrote: I didn't call _you_ Jo[h]n Harrop, man :) I called the OP a troll because his question is pretty much meaningless and is causing unnecessary irritation. May be it was because of the way I quoted the mail. Sorry for

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Baishampayan Ghose
May be it was because of the way I quoted the mail. Sorry for the confusion :-p top posting almost invariably causes confusion - an excellent way of making sure no one knows what you are talking about Hehe :) I for one merely wanted to add to Roshan's sentiment by drawing an analogy with the

[BangPypers] Any python metaclasses for UID

2009-07-28 Thread Shivaraj M S
Well,it's like a game. Mapping the names with real world objects-specially current affairs, should convey great deal of information for the abstraction to be realized. Still waiting for the metaclasses, if any. -- Regards ___ Shivaraj

Re: [BangPypers] Any python metaclasses for UID

2009-07-28 Thread Rajeev J Sebastian
On Tue, Jul 28, 2009 at 7:28 PM, Shivaraj M Sshivraj...@gmail.com wrote: Well,it's like a game. Mapping the names with real world objects-specially current affairs, should convey great deal of information for the abstraction to be realized. Still waiting for the metaclasses, if any. --

Re: [BangPypers] Any python metaclasses for UID

2009-07-27 Thread Shivaraj M S
We will have to wait for UID I guess. In a ''real world scenario'' class ClassI(Gates): def __init__(): super(UID,self).Wind(7) friend void exchange(ClassI x, Gates y) void exchange(A x, B y) { B.x = A.location.awards A.x = B.location.banks.outsource } These classes extended

Re: [BangPypers] Any python metaclasses for UID

2009-07-27 Thread Sirtaj Singh Kang
On 27-Jul-09, at 1:50 PM, Shivaraj M S wrote: [snip] Can there be a metaclass in python which can change the behaviour of object at creation stage by extending it and nullifying friend functions? (I must confess this is the only sentence in the email that I could comprehend...) If

Re: [BangPypers] Any python metaclasses for UID

2009-07-27 Thread Senthil Kumaran
On Mon, Jul 27, 2009 at 02:50:39PM +0530, Sirtaj Singh Kang wrote: On 27-Jul-09, at 1:50 PM, Shivaraj M S wrote: [snip] Can there be a metaclass in python which can change the behaviour of object at creation stage by extending it and nullifying friend functions? (I must confess this

[BangPypers] Any python metaclasses for UID

2009-07-26 Thread Shivaraj M S
Is there any python metaclass for UID or only Gates are Super() for the friend functions of UID publishers' Class hierarchy? -- Regards ___ Shivaraj ___ BangPypers mailing list BangPypers@python.org