Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#102 use updated pypy repo url #103

Merged
merged 2 commits into from
Sep 16, 2020
Merged

#102 use updated pypy repo url #103

merged 2 commits into from
Sep 16, 2020

Conversation

nobodxbodon
Copy link
Contributor

No description provided.

@alex
Copy link
Owner

alex commented Sep 16, 2020

Looks like the pypy API we use has changed. This was already broken before this, so I'll merge.

@alex alex merged commit 4950fe7 into alex:master Sep 16, 2020
@nobodxbodon
Copy link
Contributor Author

In order to fix the pypy related test cases, shall I compare the pypy code at the time of this last rply commit which passed all tests with the latest pypy code to see how to update the APIs?

@alex
Copy link
Owner

alex commented Sep 20, 2020 via email

@nobodxbodon
Copy link
Contributor Author

Thanks I'll try. Any pointers are more than welcome.

@nobodxbodon
Copy link
Contributor Author

It seems to be caused by the flags param being removed from StrMatchContext, compared to a February version, which I suppose was close to the last version of pypy before moving off bitbucket. After removing self.flags here, the tests passed locally at least for py2.7.

I wonder if this flags attribute is exposed to user or used internally in some way?

Thanks.

@alex
Copy link
Owner

alex commented Sep 22, 2020 via email

@nobodxbodon
Copy link
Contributor Author

Oh like re.DOTALL? As test_lexer still passes, my guess is flags is still effective through the pattern. If so, shall I create a pr with just self.flagsremoved?

@alex
Copy link
Owner

alex commented Sep 22, 2020 via email

@nobodxbodon
Copy link
Contributor Author

Makes sense. Will work on it. Thanks.

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.

3 participants