Skip to content

GH-96073: Fix wild replacement in formatannotation #96074

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

Merged
merged 6 commits into from
Oct 7, 2022

Conversation

iyume
Copy link
Contributor

@iyume iyume commented Aug 18, 2022

@bedevere-bot
Copy link

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, don't forget to add news and tests.

I also think that proposed solution can be simplified?

I propose adding a new module to test it, something like:

        new file:   Lib/test/typingdata/__init__.py
        new file:   Lib/test/typingdata/typing.py

In the future we can even more all ann_modules there 🤔

@iyume
Copy link
Contributor Author

iyume commented Aug 29, 2022

@sobolevn I have added some test based on your suggestion.

@gvanrossum gvanrossum removed their request for review August 29, 2022 15:18
@iyume iyume requested review from JelleZijlstra and removed request for Fidget-Spinner August 31, 2022 07:14
@iyume iyume requested review from sobolevn and removed request for JelleZijlstra September 3, 2022 12:42
@JelleZijlstra JelleZijlstra added needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes labels Oct 7, 2022
@JelleZijlstra JelleZijlstra merged commit d5fea01 into python:main Oct 7, 2022
@miss-islington
Copy link
Contributor

Thanks @iyume for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-98045 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Oct 7, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 7, 2022
…honGH-96074)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit d5fea01)

Co-authored-by: Anh71me <iyumelive@gmail.com>
@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Oct 7, 2022
@bedevere-bot
Copy link

GH-98046 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 7, 2022
…honGH-96074)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit d5fea01)

Co-authored-by: Anh71me <iyumelive@gmail.com>
miss-islington added a commit that referenced this pull request Oct 7, 2022
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit d5fea01)

Co-authored-by: Anh71me <iyumelive@gmail.com>
miss-islington added a commit that referenced this pull request Oct 7, 2022
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit d5fea01)

Co-authored-by: Anh71me <iyumelive@gmail.com>
mpage pushed a commit to mpage/cpython that referenced this pull request Oct 11, 2022
…hon#96074)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
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.

5 participants