Nick Papior added the comment: Sorry I haven't responded previously. Thanks a lot for helping me. I hadn't realized the `register` function. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue27859> _______________________________________