Skip to content

MAINT: Do not forward __(deep)copy__ calls of _GenericAlias to the wrapped type#20357

Merged
charris merged 1 commit intonumpy:maintenance/1.21.xfrom
BvB93:copy2
Nov 12, 2021
Merged

MAINT: Do not forward __(deep)copy__ calls of _GenericAlias to the wrapped type#20357
charris merged 1 commit intonumpy:maintenance/1.21.xfrom
BvB93:copy2

Conversation

@BvB93
Copy link
Member

@BvB93 BvB93 commented Nov 12, 2021

Backport of #20347

In principle we could forgo the backport, but that would mean test failures for Python >= 3.9.8 and >= 3.10.1.


Adapt to the Python 3.9.8 changes made in bpo-45167; this should fix the recent python 3.9 CI failure.

…e wrapped type

Adapt to the python 3.9.8 changes made in bpo-45167.
@BvB93 BvB93 added 08 - Backport Used to tag backport PRs component: numpy.typing labels Nov 12, 2021
@BvB93 BvB93 added this to the 1.21.5 release milestone Nov 12, 2021
@charris charris merged commit 382b4cb into numpy:maintenance/1.21.x Nov 12, 2021
@charris
Copy link
Member

charris commented Nov 12, 2021

Thanks Bas.

@BvB93 BvB93 deleted the copy2 branch November 15, 2021 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

03 - Maintenance 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants