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
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
37.4k
Star
77.5k
Code
Issues
5k+
Pull requests
2.7k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Doc
library
weakref.rst
on
3.7
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 10, 2020
[3.7] bpo-40895: Update weakref documentation to remove old warnings (GH-20687) (GH-20793)
Show description for 0490398
pitrou
authored
0490398
View commit details
Copy full SHA for 0490398
View code at this point
Browse repository at this point
Commits on Feb 11, 2020
bpo-38374: Remove weakref.ReferenceError from docs (GH-18452)
Show description for fcfc3c8
miss-islington
and
rogerhurwitz
authored
fcfc3c8
View commit details
Copy full SHA for fcfc3c8
View code at this point
Browse repository at this point
Commits on Jun 15, 2019
Update weakref.rst (GH-14098)
Show description for 30cac20
miss-islington
and
geryogam
authored
30cac20
View commit details
Copy full SHA for 30cac20
View code at this point
Browse repository at this point
Commits on Apr 11, 2019
bpo-36597: fix random doctest failure (GH-12778)
methane
authored
ac31da8
View commit details
Copy full SHA for ac31da8
View code at this point
Browse repository at this point
Commits on Apr 13, 2017
bpo-27200: Fix pathlib, ssl, turtle and weakref doctests (GH-616)
marco-buttu
authored and
berkerpeksag
committed
7b2491a
View commit details
Copy full SHA for 7b2491a
View code at this point
Browse repository at this point
Commits on Feb 12, 2017
bpo-29474: Improve documentation for weakref.WeakValueDictionary (#10)
Show description for 3110a37
Mariatta
authored
3110a37
View commit details
Copy full SHA for 3110a37
View code at this point
Browse repository at this point
Commits on Sep 7, 2016
Issue #27993: Fix problems with plural objects in docs and comments
vadmium
committed
0f0eac4
View commit details
Copy full SHA for 0f0eac4
View code at this point
Browse repository at this point
Commits on Jun 11, 2016
Issue #22558: Add remaining doc links to source code for Python-coded modules.
Show description for fa089b9
terryjreedy
committed
fa089b9
View commit details
Copy full SHA for fa089b9
View code at this point
Browse repository at this point
Commits on Mar 31, 2016
Remove redundant leading zeroes in PEP references.
serhiy-storchaka
committed
e4ba872
View commit details
Copy full SHA for e4ba872
View code at this point
Browse repository at this point
Commits on Dec 7, 2014
Issue #22696: Add function :func:`sys.is_finalizing` to know about interpreter shutdown.
pitrou
committed
5db1bb8
View commit details
Copy full SHA for 5db1bb8
View code at this point
Browse repository at this point
Commits on May 20, 2014
Fix Issue #21528 - Fix documentation typos
dstufft
committed
8b852f1
View commit details
Copy full SHA for 8b852f1
View code at this point
Browse repository at this point
Commits on Jan 6, 2014
whatsnew: ssl getpeercert/do_handshake raise OSError, weakref __callback__.
Show description for a101bdb
bitdancer
committed
a101bdb
View commit details
Copy full SHA for a101bdb
View code at this point
Browse repository at this point
Commits on Sep 22, 2013
Avoid inconsistent use of 'finalizer'
ncoghlan
committed
4c7fe6a
View commit details
Copy full SHA for 4c7fe6a
View code at this point
Browse repository at this point
Close #19047: weakref doc cleanups
Show description for be57ab8
ncoghlan
committed
be57ab8
View commit details
Copy full SHA for be57ab8
View code at this point
Browse repository at this point
Commits on Jul 30, 2013
Issue #18112: PEP 442 implementation (safe object finalization).
pitrou
committed
796564c
View commit details
Copy full SHA for 796564c
View code at this point
Browse repository at this point
Commits on May 5, 2013
Issue #15528: Add weakref.finalize to support finalization using
Show description for 7a3dae0
shibturn
committed
7a3dae0
View commit details
Copy full SHA for 7a3dae0
View code at this point
Browse repository at this point
Backout 2e446e87ac5b; it breaks the unix buildbots.
shibturn
committed
39b17c5
View commit details
Copy full SHA for 39b17c5
View code at this point
Browse repository at this point
Issue #15528: Add weakref.finalize to support finalization using
Show description for f359302
shibturn
committed
f359302
View commit details
Copy full SHA for f359302
View code at this point
Browse repository at this point
Commits on Apr 13, 2013
Fix incorrect indentation on 'versionadded' for weakref.ref.__callback__.
mdickinson
committed
9b6fdf8
View commit details
Copy full SHA for 9b6fdf8
View code at this point
Browse repository at this point
Issue #17643: Add __callback__ attribute to weakref.ref.
mdickinson
committed
556e94b
View commit details
Copy full SHA for 556e94b
View code at this point
Browse repository at this point
Commits on Nov 17, 2012
Issue #14631: Add a new :class:`weakref.WeakMethod` to simulate weak references to bound methods.
pitrou
committed
c3afba1
View commit details
Copy full SHA for c3afba1
View code at this point
Browse repository at this point
Commits on Aug 20, 2012
Issue #14954: Clarify the interaction of weak references and garbage collection.
Show description for 9439f04
pitrou
committed
9439f04
View commit details
Copy full SHA for 9439f04
View code at this point
Browse repository at this point
Commits on Aug 17, 2012
Issue #15412: Remove erroneous note about weakrefs
shibturn
committed
d9c026f
View commit details
Copy full SHA for d9c026f
View code at this point
Browse repository at this point
Commits on Jan 27, 2011
More source links
rhettinger
committed
469271d
View commit details
Copy full SHA for 469271d
View code at this point
Browse repository at this point
Commits on Sep 15, 2010
Add cross-references to the glossary entry for file objects.
pitrou
committed
11cb961
View commit details
Copy full SHA for 11cb961
View code at this point
Browse repository at this point
Commits on May 8, 2010
replace long with int
benjaminp
committed
905982b
View commit details
Copy full SHA for 905982b
View code at this point
Browse repository at this point
Commits on Mar 18, 2010
Merged revisions 79060 via svnmerge from
Show description for 4222e9c
collinw
committed
4222e9c
View commit details
Copy full SHA for 4222e9c
View code at this point
Browse repository at this point
Commits on Jan 8, 2010
Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against
Show description for c1baa60
pitrou
committed
c1baa60
View commit details
Copy full SHA for c1baa60
View code at this point
Browse repository at this point
Commits on Nov 13, 2009
Merged revisions 75149,75260-75263,75265-75267,75292,75300,75376,75405,75429-75433,75437,75445,75501,75551,75572,75589-75591,75657,75742,75868,75952-75957,76057,76105,76139,76143,76162,76223 via sv…
Show description for a0dfa82
benjaminp
committed
a0dfa82
View commit details
Copy full SHA for a0dfa82
View code at this point
Browse repository at this point
Commits on Oct 27, 2009
Merged revisions 75365,75394,75402-75403,75418,75459,75484,75592-75596,75600,75602-75607,75610-75613,75616-75617,75623,75627,75640,75647,75696,75795 via svnmerge from
Show description for 495f7b5
birkenfeld
committed
495f7b5
View commit details
Copy full SHA for 495f7b5
View code at this point
Browse repository at this point
Commits on Oct 21, 2009
Merged revisions 75580 via svnmerge from
Show description for ff8c1e5
birkenfeld
committed
ff8c1e5
View commit details
Copy full SHA for ff8c1e5
View code at this point
Browse repository at this point
Commits on Oct 10, 2009
Merged revisions 74524 via svnmerge from
Show description for bec4d57
benjaminp
committed
bec4d57
View commit details
Copy full SHA for bec4d57
View code at this point
Browse repository at this point
Commits on Oct 9, 2009
rollback the merge of r74524 because it causes failures in test_multiprocessing
benjaminp
committed
fe51a1f
View commit details
Copy full SHA for fe51a1f
View code at this point
Browse repository at this point
Commits on Oct 4, 2009
Merged revisions 74524,74556 via svnmerge from
Show description for 9a779ea
benjaminp
committed
9a779ea
View commit details
Copy full SHA for 9a779ea
View code at this point
Browse repository at this point
Commits on Sep 16, 2009
Last round of adapting style of documenting argument default values.
birkenfeld
committed
7f01a13
View commit details
Copy full SHA for 7f01a13
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.