Google Summer of Code: Bazaar-Visual Studio integration status update

Klaus Hartke klaus.hartke at googlemail.com
Fri Jul 13 22:30:35 BST 2007


I hoped someone could comment on this issue:

> * How does one cancel bzrlib.bzrdir.BzrDir.sprout or commit?

The only way to cancel a bzr operation seems to be a KeyboardInterrupt.

How does one raise a KeyboardInterrupt from a GUI?

There doesn't seem to be a way to raise a KeyboardInterrupt
programmatically, i.e. to send a signal to an embedded CPython app.
The only solution I found was to shutdown the Python interpreter and
start a new one (which, of course, doesn't raise any exception).

Any hint appreciated.

--Klaus



More information about the bazaar mailing list