Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.2k
Star
74.3k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-135228: Create __dict__ and __weakref__ descriptors for object
- #136966
#136966
Merged
encukou
merged 18 commits into
python:main
python/cpython:main
from
encukou:hackweakref-descr
encukou/cpython:hackweakref-descr
Copy head branch name to clipboard
Aug 18, 2025
Conversation
Commits
18
(18)
Checks
Files changed
Merged
gh-135228: Create __dict__ and __weakref__ descriptors for object
#136966
encukou
merged 18 commits into
python:main
python/cpython:main
from
encukou:hackweakref-descr
encukou/cpython:hackweakref-descr
Copy head branch name to clipboard
Commits
Commits on Jul 20, 2025
gh-135228: When @dataclass(slots=True) replaces a dataclass, make the original class collectible
Show description for 027f629
JelleZijlstra
committed
027f629
View commit details
Copy full SHA for 027f629
Browse repository at this point
Commits on Jul 22, 2025
Keep just the test
encukou
committed
c82d86b
View commit details
Copy full SHA for c82d86b
Browse repository at this point
Create __dict__ and __weakref__ descriptors for `object`
encukou
committed
9ef8632
View commit details
Copy full SHA for 9ef8632
Browse repository at this point
Adjust internals of inspect.getattr_static
encukou
committed
696f1d0
View commit details
Copy full SHA for 696f1d0
Browse repository at this point
Merge in the main branch
encukou
committed
58c7a39
View commit details
Copy full SHA for 58c7a39
Browse repository at this point
Commits on Jul 30, 2025
Share __dict__ and __weakref__ descriptors
encukou
committed
d0d2f73
View commit details
Copy full SHA for d0d2f73
Browse repository at this point
Merge in the main branch
encukou
committed
f709deb
View commit details
Copy full SHA for f709deb
Browse repository at this point
Adjust __repr__ of generic descriptors (ones whose __objclass__ is type)
encukou
committed
dc541cd
View commit details
Copy full SHA for dc541cd
Browse repository at this point
Add PyGetSetDef to c-analyzer's list of types
encukou
committed
1e2fd8a
View commit details
Copy full SHA for 1e2fd8a
Browse repository at this point
Commits on Aug 5, 2025
Add blurb
encukou
committed
9a40a98
View commit details
Copy full SHA for 9a40a98
Browse repository at this point
Merge in the main branch
encukou
committed
71bd841
View commit details
Copy full SHA for 71bd841
Browse repository at this point
Commits on Aug 12, 2025
Merge in the main branch
encukou
committed
61230e2
View commit details
Copy full SHA for 61230e2
Browse repository at this point
Stop calling _clear_type_descriptors
encukou
committed
e414d29
View commit details
Copy full SHA for e414d29
Browse repository at this point
Remove sys._clear_type_descriptors
encukou
committed
a71d91a
View commit details
Copy full SHA for a71d91a
Browse repository at this point
Add tests for the generic descriptors
encukou
committed
64ebb4f
View commit details
Copy full SHA for 64ebb4f
Browse repository at this point
Add to What's New
encukou
committed
699ea77
View commit details
Copy full SHA for 699ea77
Browse repository at this point
Commits on Aug 15, 2025
Add side effect note; apply review suggestions for test
Show description for 1909b6d
encukou
and
JelleZijlstra
authored
1909b6d
View commit details
Copy full SHA for 1909b6d
Browse repository at this point
Merge branch 'main' into hackweakref-descr
encukou
authored
758669d
View commit details
Copy full SHA for 758669d
Browse repository at this point
You can’t perform that action at this time.