Skip to content

Conversation

uriyyo
Copy link
Member

@uriyyo uriyyo commented Jul 23, 2021

@uriyyo uriyyo requested a review from gvanrossum as a code owner July 23, 2021 10:11
@bedevere-bot bedevere-bot added the tests Tests in the Lib/test dir label Jul 23, 2021
@uriyyo
Copy link
Member Author

uriyyo commented Jul 23, 2021

@ambv Could you please review this PR and add skip-news label?

@ambv ambv added the skip news label Jul 23, 2021
@uriyyo
Copy link
Member Author

uriyyo commented Jul 23, 2021

@serhiy-storchaka What should I do with this PR?

@serhiy-storchaka
Copy link
Member

See also #27311.

@uriyyo
Copy link
Member Author

uriyyo commented Jul 23, 2021

As far as I see #27311 will include code from this PR.

Should I close this issue?

@serhiy-storchaka
Copy link
Member

__reduce__ should use __qualname__, not __name__.

You can either copy pickle-related code from #27311 or close this issue.

@serhiy-storchaka
Copy link
Member

You need to copy also changes in constructor and tests.

@uriyyo
Copy link
Member Author

uriyyo commented Jul 23, 2021

Done, changes from your PR has been copied to this

@ambv ambv force-pushed the fix-issue-44353-tests branch from 3563d76 to 5c6cd2b Compare July 24, 2021 09:29
@ambv
Copy link
Contributor

ambv commented Jul 24, 2021

Rebased over main after GH-27311 got merged.

@ambv ambv merged commit a22b05d into python:main Jul 24, 2021
@ambv ambv added the needs backport to 3.10 only security fixes label Jul 24, 2021
@miss-islington
Copy link
Contributor

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

@bedevere-bot
Copy link

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

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Jul 24, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 24, 2021
ambv pushed a commit that referenced this pull request Jul 24, 2021
@ambv
Copy link
Contributor

ambv commented Jul 24, 2021

Thanks a lot Yurii! ✨ 🍰 ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants