Skip to content

Conversation

@commutecat
Copy link

python3 will load this module first and throw exception on basestring before loading re2.pyx

python3  will load this module first and throw exception on basestring before loading re2.pyx
@rmax
Copy link

rmax commented Jan 26, 2017

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.

@zedeus
Copy link

zedeus commented Feb 11, 2017

I encountered this issue as well. This pull request fixes it.

@leewz
Copy link

leewz commented Feb 4, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants