Matt Good wrote:
> ...
> This is where Trac's implementation was changed: 
> http://trac.edgewall.org/changeset/3729
>   

It don't think it's thread-safe, but at the same time the concurrent
operations involved on that global are very simple ones, so an
interference is very unlikely to happen.

I think there's a more fundamental issue with the component
architecture, though, it's the impossibility to provide a default
implementation for methods, which translates to numerous kludges in the
code base.

I remember Christopher saying (in [1]):
> About providing default implementations of interface methods: 
interfaces are (intentionally) orthogonal to
> inheritance…

... but I fail to see the reason why this is an advantage.
For example, Pocoo has a component architecture based on multiple
inheritance [2] and it seems to be at the same time simpler and more
powerful than what we currently have (not to mention thread-safe and
without frame hacking ;-) ).

-- Christian

[1] - http://trac.edgewall.org/ticket/3655#comment:7
[2] - http://trac.pocoo.org/browser/pocoo/trunk/pocoo/__init__.py


--~--~---------~--~----~------------~-------~--~----~
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