GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — bpo-44662: Add ability to annotate types.Union by uriyyo · Pull Request #27214 · python/cpython Conversation
|
|
@Fidget-Spinner Could you please review this PR? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
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 ;).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I created separate issue at issue tracker. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Fidget-Spinner I have merged Serhiy changes. Could you please review this PR? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Can you please split the PR into two? It seems it's fixing pickling and |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@Fidget-Spinner This PR contains only |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
No worries. Thanks for separating them. It's much clearer to me now. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I'll nosy a few others in too in case I missed something.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…62.q22kWR.rst Co-authored-by: Ken Jin <[email protected]>
|
@Fidget-Spinner This PR is ready to be review. Could you please do it?) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I'm thinking about whether we should just fix
I'll ping Łukasz when it's monday for him. Or maybe Jelle can give his opinion too. Off topic: I'm trying not to review stuff on sundays so that I have more time to work on other things :). So in the future I won't be able to respond very quickly to review requests on sunday. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@ambv or @JelleZijlstra what do y'all think? Should we fix the typing module's Annotated or fix types.Union? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I haven't looked deeply but in general I'd prefer to make |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I haven't looked deeply but in general I'd prefer to make
Annotateddo as little runtime checking as possible, so we don't have to jump through hoops to make things likeUnionwork with it.
Thanks for your input Jelle :).
LGTM mostly. I'm convinced we should add __module__ to Union now. Thanks for your efforts Yurii.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @ambv for commit b931632 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@ambv: Please replace |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-27461 is a backport of this pull request to the 3.10 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Ken Jin <[email protected]> (cherry picked from commit 8182c83) Co-authored-by: Yurii Karabas <[email protected]>
Co-authored-by: Ken Jin <[email protected]> (cherry picked from commit 8182c83) Co-authored-by: Yurii Karabas <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.