This was fixed upstream https://github.com/koehlma/pygtkspellcheck/issues/16 and the problem goes away if you upgrade your local pygtkspellcheck.
This was fixed upstream https:/ /github. com/koehlma/ pygtkspellcheck /issues/ 16 and the problem goes away if you upgrade your local pygtkspellcheck.