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

Ensure regex substitution is a string #228

Closed
wants to merge 1 commit into from
Closed

Ensure regex substitution is a string #228

wants to merge 1 commit into from

Conversation

tbkka
Copy link

@tbkka tbkka commented Jul 10, 2020

The argument here is sometimes a SubstituteCaptures wrapper object containing a string, but Python3 seems to require that it be a real string of some sort. The wrapper object supports __str__ coercion, so it suffices to just coerce it to a real string.

Python3 seems to be more particular about this than Python2.7 was
@repo-lockdown
Copy link

repo-lockdown bot commented Jul 10, 2020

This repository does not accept pull requests. Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM.

@repo-lockdown repo-lockdown bot closed this Jul 10, 2020
@repo-lockdown repo-lockdown bot locked and limited conversation to collaborators Jul 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant