Closed gattazr closed 8 years ago
This issue won't be fixed, as it is harmless and due to the way methods declaration works in Python 2.
In Python 3, methods can be compared using the "is" operator: if a class A inherits a method from another class B, the comparison A.foo is B.foo
will return True.
In Python 2, this check will return False.
We can't use the ==
operator, as the A.foo == B.foo
will return True even if A overrides B.foo
.
When a module containing a component extending another component in another module is installed, warnings are raised on the redefinition of the functions annoted with @Validate and @Invalidate.
I have access to both python2 and python3 on my system. The warnings however only appears when I start the IPOPO shell with python2.
The module
pelix.shell.tlsremote
I am using in the example is available here.