Arnaud Bergeron <[EMAIL PROTECTED]> added the comment: Would these do?
self.assertEqual(slice(None, -10 ).indices(10), (0, 0, 1)) self.assertEqual(slice(None, -11, ).indices(10), (0, 0, 1)) self.assertEqual(slice(None, -12, -1).indices(10), (9, -1, -1)) If yes, test_slice.patch adds them. Added file: http://bugs.python.org/file10653/test_slice.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3004> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com