News for hackers. Stuff that matters.
Re:It’s Not Wrong that “ ”.length == 7 by rhaway84773 on Friday June 02, 2023 @06:48AM (#36163493)
Except a sequence is not an array.

So OP’s definition still does not apply to python’s definition of a string in an unambiguous manner, which was the claim they were making.

In fact, using the OP’s “unambiguous” definition leads to the conclusion that strings shouldn’t have a length function at all since it’s not an array.

Re:It’s Not Wrong that “ ”.length == 7 by ant6n on Friday June 02, 2023 @03:38PM (#36169809)
I didnt say say a sequence is an array. I said its fair to call str objects in python arrays: https://en.m.wikipedia.org/wiki/Array_(data_type)