This is great stuff. IMO, it or something like it should go in the standard library. But what license is it available under? I want to add it to a large project, but I probably shouldn't until I know what its license is.