Open commutecat opened 7 years ago
The re2.cpp
file is generated via cython
from the re2.pyx
file. Check if regenerating the file with cython
fixes your issue by running make
.
I encountered this issue as well. This pull request fixes it.
The real problem is that src/re2.pyx was updated to support Python 3 (updated 2015 June), but src/re2.cpp wasn't regenerated (updated 2015 May). #49 modifies an outdated auto-generated file.
python3 will load this module first and throw exception on basestring before loading re2.pyx