| commit | 5e8c691594d68925213d36296ce7c4b3e90bcb1d | [log] [tgz] |
|---|---|---|
| author | Eric Snow <ericsnowcurrently@gmail.com> | Tue Apr 28 17:11:32 2020 -0600 |
| committer | GitHub <noreply@github.com> | Tue Apr 28 16:11:32 2020 -0700 |
| tree | 1b93ee2c24dd9944396aa98ba232f0db4e2893c1 | |
| parent | 6d86a2331e6b64a2ae80c1a21f81baa5a71ac594 [diff] |
bpo-32604: Add support for a "default" arg in channel_recv(). (GH-19770) This allows the caller to avoid creation of an exception when the channel is empty (just like `dict.get()` works). `ChannelEmptyError` is still raised if no default is provided. Automerge-Triggered-By: @ericsnowcurrently