-
Notifications
You must be signed in to change notification settings - Fork 840
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #450 from jamutton/master
PR340 made parent and child class methods identical
- Loading branch information
Showing
2 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@gmr, this logic is confusing and perhaps a bug. If we raise ConnectionClosed when
self.is_open
is True, then who is going to changeself.connection_state
to reflect that the connection is no longer open? When ConnectionClosed is raised and leaves scope of the pika code, the user code would expectconnection.is_open
to evaluate to False. However, this code appears to prevent the right thing from happening.CC @jamutton