Open bmbouter opened 9 years ago
The problem is backwards compatibility. We cannot just raise something here without having a proper deprecation cycle first, otherwise people are likely to only realize when it first crashes in production.
Even if we wait for 4.0 it will be hard to make sure everyone is aware of the change :(
Recently I've wanted to use the verify_connection attribute on kombu.Connection. After looking at the code the base class is hardcoded to return True per the code below:
This seems bad because it's not going to give correct information. I've got 2 questions on this:
I suspect the answer to (1) is No, but I hope the answer to (2) is that we should change the default implementation of verify_connection to raise a NotImplementedError.