Serhiy Storchaka added the comment: Renamed _PySlice_EvalIndices() to _PySlice_AdjustIndices() and changed its signature. Updated the documentation and python3.def. Fixed yet one bug: implementation-defined behavior with division by negative step.
Note that since new functions are used in public macro, they become a part of the stable API. Shouldn't starting underscores be removed from names? An attempt of discussing names and signatures on Python-Dev: https://mail.python.org/pipermail/python-dev/2016-December/147048.html. ---------- Added file: http://bugs.python.org/file46085/slice_get_indices_2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27867> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com