[pypy-commit] [Git][pypy/pypy][branch/default] Support buffer slices with the end index larger than the length of the buffer in…

Manuel Jacob foss at heptapod.net
Fri Mar 13 09:07:11 EDT 2020


Manuel Jacob pushed to branch branch/default at PyPy / pypy


Commits:
bd512511 by Manuel Jacob at 2020-03-13T13:56:46+01:00
Support buffer slices with the end index larger than the length of the buffer in RPython (in __getslice__()).

All other RPython classes seem to support that as well (e.g. rstr and rlist).

- - - - -


2 changed files:

- rpython/rlib/buffer.py
- rpython/rlib/test/test_buffer.py


View it on GitLab: https://foss.heptapod.net/pypy/pypy/commit/bd512511a6cd6d91f9e95ffba19455cce32f502d

---
View it on GitLab: https://foss.heptapod.net/pypy/pypy/commit/bd512511a6cd6d91f9e95ffba19455cce32f502d
You're receiving this email because of your account on foss.heptapod.net.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-commit/attachments/20200313/6cc2a1c1/attachment.html>


More information about the pypy-commit mailing list