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

regex: accept buffers #7680

Merged
merged 5 commits into from
May 10, 2022
Merged

regex: accept buffers #7680

merged 5 commits into from
May 10, 2022

Conversation

JelleZijlstra
Copy link
Member

Similar to #7679

@github-actions

This comment has been minimized.

@AlexWaygood
Copy link
Member

@rchen152, could you possibly take a look at the pytype crash when you have a moment? (Not urgent!) :)

@rchen152
Copy link
Collaborator

rchen152 commented May 9, 2022

@rchen152, could you possibly take a look at the pytype crash when you have a moment? (Not urgent!) :)

Looking now!

@rchen152
Copy link
Collaborator

rchen152 commented May 9, 2022

I have a fix for the pytype issue out for review. Should be able to release it tomorrow or Wednesday.

@AlexWaygood
Copy link
Member

I have a fix for the pytype issue out for review. Should be able to release it tomorrow or Wednesday.

Brilliant, thank you!

rchen152 added a commit to google/pytype that referenced this pull request May 10, 2022
@rchen152
Copy link
Collaborator

pytype-2022.5.10 contains the fix.

@JelleZijlstra JelleZijlstra mentioned this pull request May 10, 2022
@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

paroxython (https://github.com/laowantong/paroxython)
- paroxython/parse_program.py:240: error: Incompatible types in assignment (expression has type "Callable[[str, Optional[int], Optional[int], bool, Optional[bool], Optional[float]], Scanner[str]]", target has type "Pattern[Any]")
+ paroxython/parse_program.py:240: error: Incompatible types in assignment (expression has type "Callable[[str, int, int, bool, Optional[bool], Optional[float]], Scanner[str]]", target has type "Pattern[Any]")

@JelleZijlstra
Copy link
Member Author

Thanks @rchen152!

CI is green now and Sebastian approved a while ago, so I'll merge.

@JelleZijlstra JelleZijlstra merged commit b00b4f3 into python:master May 10, 2022
@JelleZijlstra JelleZijlstra deleted the regex branch May 10, 2022 22:08
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.

None yet

5 participants