Skip to content
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

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

Conversation

serhiy-storchaka
Copy link
Member

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

  • 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
Copy link

github-actions bot commented Jul 5, 2021

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