-
-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permit referring to some generic types in generic ways #908
Merged
Commits on Feb 5, 2019
-
Permit referring to some generic types in generic ways
Specifically, declare `SendChannel`, `ReceiveChannel`, `Listener`, and `RunVar` to be generic in one type parameter, and also support the `open_memory_channel[T](bufsize)` syntax at runtime. Until trio is able to support typing directly, this change allows users of external stubs to use correctly-typed channels without too many hacks.
Configuration menu - View commit details
-
Copy full SHA for b93ed9e - Browse repository at this point
Copy the full SHA b93ed9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9ce99 - Browse repository at this point
Copy the full SHA ac9ce99View commit details -
Configuration menu - View commit details
-
Copy full SHA for eff920e - Browse repository at this point
Copy the full SHA eff920eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25e82dd - Browse repository at this point
Copy the full SHA 25e82ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77edcbb - Browse repository at this point
Copy the full SHA 77edcbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b8d2b8 - Browse repository at this point
Copy the full SHA 2b8d2b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22747c2 - Browse repository at this point
Copy the full SHA 22747c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fda343 - Browse repository at this point
Copy the full SHA 6fda343View commit details
Commits on Feb 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 870d0d3 - Browse repository at this point
Copy the full SHA 870d0d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c2d2d6 - Browse repository at this point
Copy the full SHA 7c2d2d6View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.