Skip to content

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

Closed
Fidget-Spinner wants to merge 2 commits intopython:3.10from
Fidget-Spinner:partial_revert_3.10
Closed

[3.10] Partially revert "bpo-44676: Add ability to serialize types.Union (GH-27244) (GH-27333)"#27335
Fidget-Spinner wants to merge 2 commits intopython:3.10from
Fidget-Spinner:partial_revert_3.10

Conversation

@Fidget-Spinner
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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