| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Will you add a simple test if it actually calls __aiter__ from the object? |
Sorry, something went wrong.
I think we can just update our copy of test_asyncgen.py to the version from CPython 3.10. |
Sorry, something went wrong.
|
I think you already added tests from the CPython, but here is a guideline if you want to know the regular way: https://github.com/RustPython/RustPython/wiki/How-to-update-test-files |
Sorry, something went wrong.
There was a problem hiding this comment.
looks good for codes. I have one more request for the commit message. For the commit for test update (64cb090), please leave the updated source of the CPython version. That will be very useful for future contributor of the file. Because git log Lib/test/test_asyncgen.py will show how it is changed by the history just by looking for the log.
Sorry, something went wrong.
|
Because #3647 updated the test file, rebase will be enough |
Sorry, something went wrong.
the caller is expected to make sure that the passed in object does in fact supports the protocol relates RustPython#3609
There was a problem hiding this comment.
looks good, thank you!
Sorry, something went wrong.
|
@sum12 If you want, converting it to use slots would be also an approachable task |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
the caller is expected to make sure that the passed in object does in
fact supports the protocol
relates #3609