Created originally on Bitbucket by Ram Rachum
Was already merged in Bitbucket before import, marked as merged by the import user
@arigo Sorry, I couldn’t figure out how to update a pull request, I’m not used to hg. This is the updated pull request.