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
Commits
Breadcrumbs
History for
cpython
Include
setobject.h
on
3.7
User selector
All users
All time
Commit history
Commits on Apr 21, 2017
bpo-29867: Add asserts in PyTuple_GET_SIZE, PyList_GET_SIZE and PySet_GET_SIZE. (#751)
serhiy-storchaka
authored and
vstinner
committed
1a5856b
View commit details
Copy full SHA for 1a5856b
View code at this point
Browse repository at this point
Commits on Aug 1, 2015
Clarify comments on setentry invariants.
rhettinger
committed
9344bd8
View commit details
Copy full SHA for 9344bd8
View code at this point
Browse repository at this point
Commits on Jan 30, 2015
Move the set search finger before the smalltable.
rhettinger
committed
c564412
View commit details
Copy full SHA for c564412
View code at this point
Browse repository at this point
Commits on Jan 27, 2015
Remove unneeded dummy test from the set search loop (when the hashes match we know the key is not a dummy).
rhettinger
committed
a5ebbf6
View commit details
Copy full SHA for a5ebbf6
View code at this point
Browse repository at this point
Commits on Jan 26, 2015
Issue #23119: Simplify setobject by inlining the special case for unicode equality testing.
rhettinger
committed
93035c4
View commit details
Copy full SHA for 93035c4
View code at this point
Browse repository at this point
Commits on Jan 18, 2015
Issue 23261: Clean-up the hack to store the set.pop() search finger in a hash field instead of the setobject.
rhettinger
committed
1202a47
View commit details
Copy full SHA for 1202a47
View code at this point
Browse repository at this point
Commits on Dec 29, 2014
Minor comment clean-up
rhettinger
committed
3f063a5
View commit details
Copy full SHA for 3f063a5
View code at this point
Browse repository at this point
Commits on Dec 27, 2014
Neaten-up setobject.h
Show description for 404a45d
rhettinger
committed
404a45d
View commit details
Copy full SHA for 404a45d
View code at this point
Browse repository at this point
Commits on Sep 8, 2013
Remove the freelist scheme for setobjects.
Show description for 8f8839e
rhettinger
committed
8f8839e
View commit details
Copy full SHA for 8f8839e
View code at this point
Browse repository at this point
Commits on Aug 24, 2013
Issue #18772: fix the gdb plugin after the set implementation changes
pitrou
committed
9d95254
View commit details
Copy full SHA for 9d95254
View code at this point
Browse repository at this point
Commits on Aug 19, 2013
Issue18771: Reduce the cost of hash collisions for set objects.
rhettinger
committed
3c0a4f5
View commit details
Copy full SHA for 3c0a4f5
View code at this point
Browse repository at this point
Commits on Aug 6, 2013
Put the most important and most frequency accessed struct member first.
rhettinger
committed
536f9fd
View commit details
Copy full SHA for 536f9fd
View code at this point
Browse repository at this point
Commits on Jun 22, 2012
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
davidmalcolm
committed
49526f4
View commit details
Copy full SHA for 49526f4
View code at this point
Browse repository at this point
Commits on Dec 16, 2011
Issue #6695: Full garbage collection runs now clear the freelist of set objects.
Show description for 093ce9c
pitrou
committed
093ce9c
View commit details
Copy full SHA for 093ce9c
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 Aug 17, 2010
Issue #9612: The set object is now 64-bit clean under Windows.
pitrou
committed
671b4d9
View commit details
Copy full SHA for 671b4d9
View code at this point
Browse repository at this point
Commits on May 9, 2010
Recorded merge of revisions 81029 via svnmerge from
Show description for f95a1b3
pitrou
committed
f95a1b3
View commit details
Copy full SHA for f95a1b3
View code at this point
Browse repository at this point
Commits on Feb 4, 2008
Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552-60567 via svnmerge from
Show description for 15ebc88
tiran
committed
15ebc88
View commit details
Copy full SHA for 15ebc88
View code at this point
Browse repository at this point
Commits on Jan 31, 2008
Fixed r60466
tiran
committed
db96789
View commit details
Copy full SHA for db96789
View code at this point
Browse repository at this point
Commits on Jan 29, 2008
Merged revisions 60383-60407 via svnmerge from
Show description for fd66e51
tiran
committed
fd66e51
View commit details
Copy full SHA for fd66e51
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 Nov 29, 2007
Added all PyTypeObjects to the appropriate header files.
Show description for a22e8bd
tiran
committed
a22e8bd
View commit details
Copy full SHA for a22e8bd
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 Apr 27, 2007
Merged revisions 53952-54987 via svnmerge from
Show description for d8faa36
gvanrossum
committed
d8faa36
View commit details
Copy full SHA for d8faa36
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 Apr 21, 2006
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
Show description for 49fd7fa
Yhg1s
committed
49fd7fa
View commit details
Copy full SHA for 49fd7fa
View code at this point
Browse repository at this point
Commits on Mar 4, 2006
Use Py_ssize_t for PySet_Size() like all the other Py*_Size() functions.
nnorwitz
committed
8c49c82
View commit details
Copy full SHA for 8c49c82
View code at this point
Browse repository at this point
Commits on Aug 16, 2005
Numerous fix-ups to C API and docs. Added tests for C API.
rhettinger
committed
c47e01d
View commit details
Copy full SHA for c47e01d
View code at this point
Browse repository at this point
Add a C API for sets and frozensets.
rhettinger
committed
beb3101
View commit details
Copy full SHA for beb3101
View code at this point
Browse repository at this point
Commits on Aug 7, 2005
* Bring in INIT_NONZERO_SET_SLOTS macro from dictionary code.
Show description for bc841a1
rhettinger
committed
bc841a1
View commit details
Copy full SHA for bc841a1
View code at this point
Browse repository at this point
Commits on Aug 2, 2005
Model set.pop() after dict.popitem().
rhettinger
committed
67962ab
View commit details
Copy full SHA for 67962ab
View code at this point
Browse repository at this point
Commits on Aug 1, 2005
* Improve code for the empty frozenset singleton:
Show description for d794666
rhettinger
committed
d794666
View commit details
Copy full SHA for d794666
View code at this point
Browse repository at this point
Commits on Jul 31, 2005
Revised the set() and frozenset() implementaion to use its own internal
Show description for 9f1a679
rhettinger
committed
9f1a679
View commit details
Copy full SHA for 9f1a679
View code at this point
Browse repository at this point
Commits on Oct 28, 2004
Wrote down the invariants of some common objects whose structure is
Show description for 89a3946
arigo
committed
89a3946
View commit details
Copy full SHA for 89a3946
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.