Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Type
open_http
's nbytes
as Py_ssize_t
Python typically defines size values as `Py_ssize_t`. Leverage this with `nbytes`. Also as `Py_ssize_t` is `signed` it can take negative values. So pick make the `nbytes` default value `-1`. Update internal checks for `nbytes` being passed similarly. This eliminates the overhead associated with a Python object.
- Loading branch information