[tipue_search] Restore support for Python 3