SMRTR ProgrammingOct 9, 2025Hacker News

Python's splitlines does more than just newlines

SMRTR summary

Python's splitlines() function recognizes 11 different Unicode line boundary characters, not just \n and \r. This can cause unexpected splitting when obscure control characters appear in text.

SMRTR provides this summary for quick context. The original article belongs to Hacker News.

Read the original article
SMRTR Programming

Get the next batch of curated summaries in your inbox.

This archive is built from SMRTR newsletter summaries. Subscribe for hand-picked stories without the extra noise.