Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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.4k
(2.4k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Include
weakrefobject.h
on
v3.14.4
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 20, 2024
gh-105927: Limit PyWeakref_GetRef() to limited C API 3.13 (#117091)
vstinner
authored
104602a
View commit details
Copy full SHA for 104602a
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 21, 2023
gh-105927: Add PyWeakref_GetRef() function (#105932)
Show description for 9c44656
vstinner
authored
9c44656
View commit details
Copy full SHA for 9c44656
View code at this point
Browse repository at this point
Commits on Jun 16, 2022
gh-87347: Add parenthesis around PyXXX_Check() arguments (#92815)
vstinner
authored
7546914
View commit details
Copy full SHA for 7546914
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
Commits on Feb 13, 2020
bpo-39573: Add Py_IS_TYPE() function (GH-18488)
Show description for d905df7
corona10
authored
d905df7
View commit details
Copy full SHA for d905df7
View code at this point
Browse repository at this point
Commits on Oct 8, 2013
Closes #13867: remove untrue comment about PyWeakref_Check().
birkenfeld
committed
fe9e3b8
View commit details
Copy full SHA for fe9e3b8
View code at this point
Browse repository at this point
Commits on Dec 8, 2012
Issue #16602: When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.
Show description for 62a0d6e
pitrou
committed
62a0d6e
View commit details
Copy full SHA for 62a0d6e
View code at this point
Browse repository at this point
Commits on Dec 3, 2010
Merge branches/pep-0384.
loewis
committed
4d0d471
View commit details
Copy full SHA for 4d0d471
View code at this point
Browse repository at this point
Commits on Oct 17, 2010
make hashes always the size of pointers; introduce Py_hash_t #9778
benjaminp
committed
8f67d08
View commit details
Copy full SHA for 8f67d08
View code at this point
Browse repository at this point
Commits on Dec 19, 2007
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
tiran
committed
90aa764
View commit details
Copy full SHA for 90aa764
View code at this point
Browse repository at this point
Commits on Jul 21, 2007
Merged revisions 56467-56482 via svnmerge from
Show description for 9f2e346
loewis
committed
9f2e346
View commit details
Copy full SHA for 9f2e346
View code at this point
Browse repository at this point
Commits on Aug 11, 2006
Merged revisions 46753-51188 via svnmerge from
Show description for 0e3f591
Yhg1s
committed
0e3f591
View commit details
Copy full SHA for 0e3f591
View code at this point
Browse repository at this point
Commits on Oct 30, 2004
SF 1055820: weakref callback vs gc vs threads
Show description for ead8b7a
tim-one
committed
ead8b7a
View commit details
Copy full SHA for ead8b7a
View code at this point
Browse repository at this point
Commits on Jul 2, 2004
Make weak references subclassable:
Show description for 0a4dd39
freddrake
committed
0a4dd39
View commit details
Copy full SHA for 0a4dd39
View code at this point
Browse repository at this point
Commits on Nov 20, 2003
SF bug 839548: Bug in type's GC handling causes segfaults.
Show description for 403a203
tim-one
committed
403a203
View commit details
Copy full SHA for 403a203
View code at this point
Browse repository at this point
Commits on Aug 12, 2002
Excise DL_EXPORT from Include.
Show description for 91a681d
mhammond
committed
91a681d
View commit details
Copy full SHA for 91a681d
View code at this point
Browse repository at this point
Commits on Oct 5, 2001
Remove bogus declaration.
freddrake
committed
335244c
View commit details
Copy full SHA for 335244c
View code at this point
Browse repository at this point
The weak reference implementation, separated from the weakref module.
freddrake
committed
8844d52
View commit details
Copy full SHA for 8844d52
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.