{"action":"opened","issue":{"url":"https://api.github.com/repos/pika/pika/issues/817","repository_url":"https://api.github.com/repos/pika/pika","labels_url":"https://api.github.com/repos/pika/pika/issues/817/labels{/name}","comments_url":"https://api.github.com/repos/pika/pika/issues/817/comments","events_url":"https://api.github.com/repos/pika/pika/issues/817/events","html_url":"https://github.com/pika/pika/issues/817","id":229084976,"number":817,"title":"'Must have completion callback with nowait=False' if closing channel with existing consumers","user":{"login":"desertkun","id":1666014,"avatar_url":"https://avatars3.githubusercontent.com/u/1666014?v=3","gravatar_id":"","url":"https://api.github.com/users/desertkun","html_url":"https://github.com/desertkun","followers_url":"https://api.github.com/users/desertkun/followers","following_url":"https://api.github.com/users/desertkun/following{/other_user}","gists_url":"https://api.github.com/users/desertkun/gists{/gist_id}","starred_url":"https://api.github.com/users/desertkun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desertkun/subscriptions","organizations_url":"https://api.github.com/users/desertkun/orgs","repos_url":"https://api.github.com/users/desertkun/repos","events_url":"https://api.github.com/users/desertkun/events{/privacy}","received_events_url":"https://api.github.com/users/desertkun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-16T15:59:18Z","updated_at":"2017-05-16T15:59:18Z","closed_at":null,"body":"If you have existing consumers and decide to close a channel, you will end up with an error:\r\n```python\r\nValueError: Must have completion callback with nowait=False\r\n```\r\nThat's because [this line](https://github.com/pika/pika/blob/master/pika/channel.py#L529) definitely doing something wrong (it passes NO callback and sets nowait=False)\r\n"}}
{"actor":{"display_login":"desertkun"}}