Created originally on Bitbucket by dripton (David Ripton)
Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.
See issue 1087
This might be a performance hit. I haven't translated it yet so I'm not sure. But nobody should be importing inside loops anyway...