Skip to content

bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes#26456

Merged
serhiy-storchaka merged 2 commits into
python:mainfrom
serhiy-storchaka:subclass-constructors-with-keywords
Sep 12, 2021
Merged

bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes#26456
serhiy-storchaka merged 2 commits into
python:mainfrom
serhiy-storchaka:subclass-constructors-with-keywords

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented May 30, 2021

Copy link
Copy Markdown
Member
  • Constructors of subclasses of some buitin classes (e.g. tuple, list,
    frozenset) no longer accept arbitrary keyword arguments.
  • Subclass of set can now define a __new__() method with additional
    keyword parameters without overriding also __init__().

https://bugs.python.org/issue43413

…n classes

* Constructors of subclasses of some buitin classes (e.g. tuple, list,
  frozenset) no longer accept arbitrary keyword arguments.
* Subclass of set can now define a __new__() method with additional
  keyword parameters without overriding also __init__().
@github-actions

github-actions Bot commented Jul 5, 2021

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 Jul 5, 2021
@serhiy-storchaka serhiy-storchaka removed the stale Stale PR or inactive for long period of time. label Jul 6, 2021
@serhiy-storchaka serhiy-storchaka merged commit 92bf869 into python:main Sep 12, 2021
@serhiy-storchaka serhiy-storchaka deleted the subclass-constructors-with-keywords branch September 12, 2021 10:27
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.

3 participants