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
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
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 }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.6k
(2.6k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Include
cpython
weakrefobject.h
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 24, 2025
gh-133644: remove `PyWeakref_GetObject` and `PyWeakref_GET_OBJECT` (GH-133657)
picnixz
authored
a5e0562
View commit details
Copy full SHA for a5e0562
View code at this point
Browse repository at this point
Commits on Dec 19, 2024
gh-128008: Add `PyWeakref_IsDead()` (GH-128009)
Show description for 7b811d0
colesbury
authored
7b811d0
View commit details
Copy full SHA for 7b811d0
View code at this point
Browse repository at this point
Commits on Oct 2, 2024
gh-111178: Fix function signatures in weakrefobject.c (#124903)
vstinner
authored
1ea6672
View commit details
Copy full SHA for 1ea6672
View code at this point
Browse repository at this point
Commits on Jun 20, 2024
gh-117511: Make PyMutex public in the non-limited API (#117731)
colesbury
authored
3af7263
View commit details
Copy full SHA for 3af7263
View code at this point
Browse repository at this point
Commits on May 10, 2024
gh-118789: Restore hidden `_PyWeakref_ClearRef` (#118797)
Show description for db5af7d
colesbury
authored
db5af7d
View commit details
Copy full SHA for db5af7d
View code at this point
Browse repository at this point
Commits on Apr 8, 2024
gh-111926: Make weakrefs thread-safe in free-threaded builds (#117168)
Show description for df73179
mpage
authored
df73179
View commit details
Copy full SHA for df73179
View code at this point
Browse repository at this point
Commits on Jun 26, 2023
gh-105927: Deprecate PyWeakref_GetObject() function (#106006)
Show description for c075a19
vstinner
authored
c075a19
View commit details
Copy full SHA for c075a19
View code at this point
Browse repository at this point
Commits on Jun 23, 2023
gh-105927: Remove _PyWeakref_GetWeakrefCount() (#106007)
Show description for 6a80664
vstinner
authored
6a80664
View commit details
Copy full SHA for 6a80664
View code at this point
Browse repository at this point
Commits on Jun 13, 2022
gh-89653: PEP 670: Macros always cast arguments in cpython/ (#93766)
Show description for df22eec
vstinner
authored
df22eec
View commit details
Copy full SHA for df22eec
View code at this point
Browse repository at this point
Commits on May 15, 2022
gh-92781: Avoid mixing declarations and code in C API (#92783)
Show description for 90e7230
vstinner
authored
90e7230
View commit details
Copy full SHA for 90e7230
View code at this point
Browse repository at this point
Commits on May 11, 2022
gh-89653: PEP 670: Limited API doesn't cast arguments (#92654)
Show description for 7d3b469
vstinner
authored
7d3b469
View commit details
Copy full SHA for 7d3b469
View code at this point
Browse repository at this point
Commits on May 3, 2022
gh-91320: Fix more old-style cast warnings in C++ (#92247)
Show description for ff3e9cd
vstinner
authored
ff3e9cd
View commit details
Copy full SHA for ff3e9cd
View code at this point
Browse repository at this point
Commits on Apr 21, 2022
gh-89653: PEP 670: Convert PyWeakref_GET_OBJECT() to function (#91785)
Show description for 1a2b282
vstinner
authored
1a2b282
View commit details
Copy full SHA for 1a2b282
View code at this point
Browse repository at this point
Commits on Jan 23, 2022
bpo-46481: Implement vectorcall for weakref.ref.__call__ method. (GH-30820)
corona10
authored
76dc047
View commit details
Copy full SHA for 76dc047
View code at this point
Browse repository at this point
Commits on Oct 18, 2021
bpo-35134: Split warnings.h and weakrefobject.h (GH-29042)
Show description for aad88d3
vstinner
authored
aad88d3
View commit details
Copy full SHA for aad88d3
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.