Please report new issues athttps://github.com/DOCGroup
We should raise BadKind for these cases, I believe.
No time now, this is a marker for future reference.
It works fine if there is something set up to catch the exception.