On Dec 30, 2008, at 3:55 PM, anatoly techtonik wrote:

>
> On Dec 30, 12:25 pm, Noah Kantrowitz <[email protected]> wrote:
>
>> The __init__ of the metaclass isn't related to the __init__ of the
>> class. Its purely a stylistic decision in this case, though __new__
>> does allow a small more flexibility that __init__ in that you can
>> return something other than an instance of the class.
>
> Right. When I first looked at __new__ definition in metaclass I
> expected to find some magic which will make this method return
> something else than instance of the class, but haven't found anything.


Am I missing some pressing reason to change it though?

--Noah


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to