Skip to content

[3.10] Partially revert "bpo-44676: Add ability to serialize types.Union (GH-27244) (GH-27333)" #27335

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

Closed

Conversation

Fidget-Spinner
Copy link
Member

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

We only need the refactoring parts for future backports. The added support for pickling is removed.

https://bugs.python.org/issue44676

@Fidget-Spinner Fidget-Spinner changed the title [3.10] Partially revert "bpo-44676: Add ability to serialize types.Union (GH-27244) (GH-27333) [3.10] Partially revert "bpo-44676: Add ability to serialize types.Union (GH-27244) (GH-27333)" Jul 24, 2021
@Fidget-Spinner
Copy link
Member Author

Fidget-Spinner commented Jul 24, 2021

Exposing a private method for pickling means we need to keep it around with no changes forever since pickling guarantees backwards compatibility. I overlooked this part in GH-27333 (sorry!). Alternatively, we can backport GH-27323.

Marking this PR as draft until we decide on what to do.

@Fidget-Spinner Fidget-Spinner marked this pull request as draft July 24, 2021 15:54
@pablogsal
Copy link
Member

Alternatively, we can backport GH-27323.

My idea is to indeed backport PR27323. But whatever we decide needs to be done as soon as possible, because we don't want to realize that we missed something close the the RC

@Fidget-Spinner
Copy link
Member Author

Closing this in favour of GH-27340.

@Fidget-Spinner Fidget-Spinner deleted the partial_revert_3.10 branch July 25, 2021 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants