News for hackers. Stuff that matters.
Re:Speed improvements in Python 3.7 by mark-r on Tuesday February 13, 2018 @06:35PM (#16371974)
len() should return the length in individual addressable units, so that obj[len(obj)-1] always returns the last item, whether that's a byte or a unicode character.

There are no comments on this comment yet.