| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: AN Long <aisk@users.noreply.github.com>
There was a problem hiding this comment.
See #60198. PyBuffer_FillInfo() with NULL as exporter is a fragile thing.
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you.
Yet one nitpick. The code relies on the fact that b"abc" still exists after returning from buffer_fill_info(). It is so in CPython, but this is an implementation detail. It would be more reliable to explicitly keep a reference to it:
source = b'abc'
...
buffer_fill_info(source, ...)
Sorry, something went wrong.
|
Thank you! I always learn a lot from your reviews, very helpful. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.