Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[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 into
python:3.10python/cpython:3.10from
Fidget-Spinner:partial_revert_3.10Fidget-Spinner/cpython:partial_revert_3.10Copy head branch name to clipboard
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 into
python:3.10python/cpython:3.10from
Fidget-Spinner:partial_revert_3.10Fidget-Spinner/cpython:partial_revert_3.10Copy head branch name to clipboard

Conversation

@Fidget-Spinner

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

Copy link
Copy Markdown
Member

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

Fidget-Spinner commented Jul 24, 2021

Copy link
Copy Markdown
Member Author

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.