How do you programmatically make a comment (preferrably with Python) on a pull request hosted on Bitbucket?
I have a Buildbot server continuously running tests on all my branches hosted on Bitbucket, and after it runs tests for a branch, I want it to check for any pending pull requests and automatically create a comment noting test status (e.g. pass/fail).
This and this indicate Bitbucket has a pretty rich API, and even has methods for listing comments, but I can't find any method for creating a comment on a pull request.