#Python surprise of the day: `x = []; x.insert(999, "foo")` does not throw an error.
miniblog.
Related Posts
A pleasant surprise: updating the direct dependencies in difftastic has reduced the total transitive dependencies. I wasn't expecting that.
Today I learnt that null bytes are valid in UTF-8 and ASCII strings!
It was a surprise -- \0 doesn't feel like text -- but it'd be even more awkward when using C-style strings.