-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add strict parameter to stream.zip (issue #118) * Use shortcut for anext called without default * Add tests for exception passthrough in zip * Add (failing) test case for early exit from zip * Exit from non-strict zip as early as possible Fixes failing test from previous commit. * Make UNSET an enum Co-authored-by: Vincent Michel <vxgmichel@gmail.com> * Make STOP_SENTINEL an enum Co-authored-by: Vincent Michel <vxgmichel@gmail.com> * Fix imports for enums * Move strict condition further up & fix typing * Update aiostream/stream/combine.py Fix Pyton 3.8 compat Co-authored-by: Vincent Michel <vxgmichel@gmail.com> * Move STOP_SENTINEL construction out of function * Type inner anext wrapper function * Improve un-overloaded anext() type signature * Use ellipsis instead of pass --------- Co-authored-by: Vincent Michel <vxgmichel@gmail.com>
- Loading branch information
1 parent
5e0547a
commit 30665d9
Showing
4 changed files
with
94 additions
and
13 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
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