GH-93521: Filter out `__weakref__` slot if present in bases by Bluenix2 · Pull Request #93535 · python/cpython · GitHub

github.com

Tin mới

Bluenix2:fix-93521

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

GH-93521: Filter out `__weakref__` slot if present in bases

📜🤖 Added by blurb_it.

View reviewed changes

Expand test coverage of subclasses specifying __weakref__

Reword news blurb to explain change without context

View reviewed changes

needs backport to 3.11

needs backport to 3.11

: For dataclasses, filter out

: For dataclasses, filter out

Revert 30935 defer bpo45162 to 312 (

emscripten-core/emscripten#17269

https://github.com/python/cpython/issue/89336

Cannot specify weakref_slot=True twice in dataclass MRO

Successfully merging this pull request may close these issues.

⌂git
1/1