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

bpo-44662: Add ability to annotate types.Union #27214

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

@uriyyo
Copy link
Contributor

@uriyyo uriyyo commented Jul 17, 2021

@uriyyo
Copy link
Contributor Author

@uriyyo uriyyo commented Jul 17, 2021

@Fidget-Spinner Could you please review this PR?

Copy link
Contributor

@Fidget-Spinner Fidget-Spinner left a comment

Please wait until Serhiy merges some of his union refactoring changes. He's already prepared them, just not yet made PRs for review and merge. This will also take some time for me to review as I need to revise on tp_getattro and friends. Sorry (I'm busy with other things at the moment).

Also the current issue is getting too big. Can you please create a separate issue for this on bpo then tie this PR to that? We are getting pretty far from my original issue on the bpo ;).

Objects/unionobject.c Outdated Show resolved Hide resolved
@uriyyo uriyyo changed the title bpo-44490: Add ability to serialise and annotate types.Union bpo-44662: Add ability to serialise and annotate types.Union Jul 17, 2021
@uriyyo
Copy link
Contributor Author

@uriyyo uriyyo commented Jul 17, 2021

I created separate issue at issue tracker.

@uriyyo uriyyo force-pushed the uriyyo:fix-issue-44490 branch from 97a1898 to eb52dc8 Jul 19, 2021
@uriyyo uriyyo requested a review from Fidget-Spinner Jul 19, 2021
@uriyyo
Copy link
Contributor Author

@uriyyo uriyyo commented Jul 19, 2021

@Fidget-Spinner I have merged Serhiy changes. Could you please review this PR?

@Fidget-Spinner
Copy link
Contributor

@Fidget-Spinner Fidget-Spinner commented Jul 19, 2021

Can you please split the PR into two? It seems it's fixing pickling and typing.Annotated compatibility at the same time. Please create another issue for the annotated problem.

@uriyyo
Copy link
Contributor Author

@uriyyo uriyyo commented Jul 19, 2021

Sorry about that, I thought that it will be a great idea to fix several issues in scope of one PR.

I will divide it at 2 separate PR.

@uriyyo uriyyo changed the title bpo-44662: Add ability to serialise and annotate types.Union bpo-44662: Add ability to annotate types.Union Jul 19, 2021
@uriyyo
Copy link
Contributor Author

@uriyyo uriyyo commented Jul 19, 2021

@Fidget-Spinner This PR contains only typing.Annotated compatibility fix.

@Fidget-Spinner
Copy link
Contributor

@Fidget-Spinner Fidget-Spinner commented Jul 19, 2021

Sorry about that, I thought that it will be a great idea to fix several issues in scope of one PR.

I will divide it at 2 separate PR.

No worries. Thanks for separating them. It's much clearer to me now.

Copy link
Contributor

@Fidget-Spinner Fidget-Spinner left a comment

Looks good, I'll nosy a few others in too in case I missed something.

Objects/unionobject.c Outdated Show resolved Hide resolved
uriyyo and others added 2 commits Jul 19, 2021
….q22kWR.rst

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
@uriyyo uriyyo requested a review from Fidget-Spinner Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants