3 ms·
I didn't realize the modulo operator for bytes was added. most information I've run across said it didn't work. Unfortunately most libraries for 3 will be usi
by Avernar 9y ago
I didn't realize the modulo operator for bytes was added. most information I've run across said it didn't work.
Unfortunately most libraries for 3 will be using str so using bytes with UTF-8 inside will become more and more difficult.
- masklinn 9y ago> I didn't realize the modulo operator for bytes was added. most information I've run across said it didn't work. It was added in Python 3.5 (IIRC that's the last backwards compatibility feature added, I don't remember 3.6 adding any, or any being planned for 3.7).