Get the latest tech news
Python's splitlines does more than just newlines
(With thanks to Seth Larson for taking me down this rabbit hole.) I always assumed that Python's str.splitlines() split strings by "universal newlines", i.e., \n, \r, and \r\n. But it turns out it does a lot more than that.
None
Or read this on Hacker News