Visitar URL original
bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes by serhiy-storchaka · Pull Request #26456 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20221223163327/https://github.com/python/cpython/pull/26456
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 requested a review from rhettinger Jul 6, 2021
@serhiy-storchaka serhiy-storchaka merged commit 92bf869 into python:main Sep 12, 2021
13 checks passed
@serhiy-storchaka serhiy-storchaka deleted the subclass-constructors-with-keywords branch Sep 12, 2021
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.

None yet

3 participants