Python why
>>> b"A" in b"ABC"
True
>>> ord(b"A") in b"ABC"
True
>>> b"A" in memoryview(b"ABC")
False
>>> ord(b"A") in memoryview(b"ABC")
True
Python why
>>> b"A" in b"ABC"
True
>>> ord(b"A") in b"ABC"
True
>>> b"A" in memoryview(b"ABC")
False
>>> ord(b"A") in memoryview(b"ABC")
True
If you have a fediverse account, you can quote this note from your own instance. Search https://social.treehouse.systems/users/whitequark/statuses/116244593799058510 on your instance and quote it. (Note that quoting is not supported in Mastodon.)