Skip to content

[3.10] gh-94245: Fix pickling and copying of typing.Tuple[()] - #94260

Merged
serhiy-storchaka merged 1 commit into
python:3.10from
serhiy-storchaka:typing-empty-tuple-pickle-copy-3.10
Jun 25, 2022
Merged

serhiy-storchaka merged 1 commit into
python:3.10from
serhiy-storchaka:typing-empty-tuple-pickle-copy-3.10

Conversation

@serhiy-storchaka

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

Copy link
Copy Markdown
Member

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

@JelleZijlstra JelleZijlstra left a comment

Copy link
Copy Markdown
Member

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