-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[RFC] Render typed iterators in docstrings (alternative) #2371
Draft
sizmailov
wants to merge
8
commits into
pybind:master
Choose a base branch
from
sizmailov:doc-gen-typed-iterators-ng
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Aug 7, 2020
-
Render typed iterators (e.g. Iterator[int]) in docstrings
This commit introduces minor breaking change: `make_iterator` and `make_key_iterator` now return `iterator_state` instance instead of `py::iterator`. It doesn't affect regular use of those functions (immediate return from __iter__ lambda), but requires changes in user code with implicit assignments/conversions, e.g.: py::iterator it = make_iterator(...); # requires explicit py::cast()
Configuration menu - View commit details
-
Copy full SHA for 91ca4e6 - Browse repository at this point
Copy the full SHA 91ca4e6View commit details -
Introduce make_iterator_ng/make_key_iterator_ng,
deprecate make_iterator,make_key_iterator
Configuration menu - View commit details
-
Copy full SHA for 8bbfeea - Browse repository at this point
Copy the full SHA 8bbfeeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e360b7 - Browse repository at this point
Copy the full SHA 0e360b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 036add2 - Browse repository at this point
Copy the full SHA 036add2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96bdc5f - Browse repository at this point
Copy the full SHA 96bdc5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1dbc30 - Browse repository at this point
Copy the full SHA b1dbc30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98763aa - Browse repository at this point
Copy the full SHA 98763aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5500d8 - Browse repository at this point
Copy the full SHA c5500d8View 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.