Re: abc don't play well with private method

2010-05-19 Thread mouadino
Hello, and thank you for ALL the informations. i think i was reading the wrong documents :) For my use of ABC, i wanted to implement a plugin interface with the ABC, in first i define a Base class (ABC) that other class inherit(implement) so that they can be interfaced as plugins. but i did have

Re: abc don't play well with private method

2010-05-17 Thread mouadino
Hello and thanx for your answer it's was very helpful but just to clear some thinks : > There's no such thing as a "private" attribute in Python. The > name-mangling mechanism invoked by "__name" is really meant to avoid > accidental redefinition of the attribute in a derived class. > In this ca

Re: abc don't play well with private method

2010-05-17 Thread mouadino
Hello and thanx for your answer it's was very helpful but just to clear some thinks : > There's no such thing as a "private" attribute in Python. The > name-mangling mechanism invoked by "__name" is really meant to avoid > accidental redefinition of the attribute in a derived class. > In this ca

Re: abc don't play well with private method

2010-05-17 Thread mouadino
Hello and thanx for your answer it's was very helpful but just to clear some thinks : > There's no such thing as a "private" attribute in Python. The > name-mangling mechanism invoked by "__name" is really meant to avoid > accidental redefinition of the attribute in a derived class. > In this ca

abc don't play well with private method

2010-05-05 Thread mouadino
i have a problem here : i want to make a plugin architecture using abstract base class , this is my base class : # -*- coding: utf-8 -*- import abc class BASE_Connector: """ Mount point for plugins which refer to actions that can be performed. Plugins implementing this reference s