Skip to content

Backport PR #49736 on branch 1.5.x (Fix: Treat Generic classes as not being is_list_like) #50233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 13, 2022

Conversation

Dr-Irv
Copy link
Contributor

@Dr-Irv Dr-Irv commented Dec 13, 2022

backport of #49736 to 1.5.x

* Fix: Treat Generic classes as not being is_list_like

* tst: update test to test subclass of DataFrame

* add is_list_like test for instance of generic dataframe

* combine isinstance tests

* update whatsnew with clearer message

* Update whatsnew to reference DataFrame as a class

Co-authored-by: Matthew Roeschke <[email protected]>

* fix whatsnew blank line

* fix whatsnew issue quotes

* move whatsnew comment from 1.5.2 to 1.5.3

Co-authored-by: Matthew Roeschke <[email protected]>
(cherry picked from commit e37040a)
@Dr-Irv Dr-Irv added this to the 1.5.3 milestone Dec 13, 2022
@Dr-Irv Dr-Irv requested a review from mroeschke December 13, 2022 14:50
@Dr-Irv Dr-Irv changed the base branch from main to 1.5.x December 13, 2022 14:51
@mroeschke mroeschke merged commit f9566aa into pandas-dev:1.5.x Dec 13, 2022
@mroeschke
Copy link
Member

Thanks for the manual backport @Dr-Irv

@Dr-Irv Dr-Irv deleted the auto-backport-of-pr-49736-on-1.5.x branch February 13, 2023 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants