this post was submitted on 11 Aug 2022
5 points (100.0% liked)
General Programming Discussion
7962 readers
6 users here now
A general programming discussion community.
Rules:
- Be civil.
- Please start discussions that spark conversation
Other communities
Systems
Functional Programming
Also related
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If they used UTF-8 internally, they wouldn't need 4 versions of the split function.
https://github.com/python/cpython/blob/1402d2ceca8ccef8c3538906b3f547365891d391/Objects/unicodeobject.c#L9757