Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jun 25, 2022

It is an alternate PR, which only fixes pickling and copying typing.Tuple[()], without affecting its __args__.

@serhiy-storchaka serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label Jun 25, 2022
@JelleZijlstra JelleZijlstra changed the title gh-94245: Fix pickling and copying of typing.Tuple[()] [3.10] gh-94245: Fix pickling and copying of typing.Tuple[()] Jun 25, 2022
Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'd prefer this over backporting your other change, since it's less disruptive.

@serhiy-storchaka serhiy-storchaka merged commit 75dda3b into python:3.10 Jun 25, 2022
@serhiy-storchaka serhiy-storchaka deleted the typing-empty-tuple-pickle-copy-3.10 branch June 25, 2022 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants