Skip to content

gh-48962: Fix duplicate values in the list when deepcopying a subclass list - #101466

Open
furkanonder wants to merge 6 commits into
python:mainfrom
furkanonder:issue-48962
Open

gh-48962: Fix duplicate values in the list when deepcopying a subclass list#101466
furkanonder wants to merge 6 commits into
python:mainfrom
furkanonder:issue-48962

Conversation

@furkanonder

@furkanonder furkanonder commented Jan 31, 2023

Copy link
Copy Markdown
Contributor

@furkanonder furkanonder changed the title GH-48962: Fix duplicate values in the list when copying a subclass list GH-48962: Fix duplicate values in the list when deepcopying a subclass list Jan 31, 2023
@furkanonder furkanonder added type-bug An unexpected behavior, bug, or error stdlib Standard Library Python modules in the Lib/ directory labels Aug 6, 2023
@furkanonder furkanonder changed the title GH-48962: Fix duplicate values in the list when deepcopying a subclass list gh-48962: Fix duplicate values in the list when deepcopying a subclass list Aug 6, 2023
@serhiy-storchaka

Copy link
Copy Markdown
Member

It is not yet clear what is the correct behavior. Even if the changed order is more correct, it is a breaking change. And this PR makes the behavior for list subclasses inconsistent with the behavior of other list-like and dict-like objects. It is not an easy issue.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time. stdlib Standard Library Python modules in the Lib/ directory type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants