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 }}
pythoncapi
cpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Objects
setobject.c
on
3.6
User selector
All users
Datepicker
All time
Commit history
Commits on May 2, 2018
bpo-33391: Fix refleak in set_symmetric_difference (GH-6670)
Show description for d554699
miss-islington
and
lekma
authored
d554699
View commit details
Copy full SHA for d554699
View code at this point
Browse repository at this point
Commits on Jan 18, 2018
Removed unnecesssary bit inversion which doesn't improve dispersion statistics (GH-5235) (#5236)
Show description for 051650a
miss-islington
authored and
rhettinger
committed
051650a
View commit details
Copy full SHA for 051650a
View code at this point
Browse repository at this point
Commits on Jan 16, 2018
bpo-26163: Frozenset hash improvement (GH-5194) (#5198)
Show description for e7dbd06
miss-islington
authored and
rhettinger
committed
e7dbd06
View commit details
Copy full SHA for e7dbd06
View code at this point
Browse repository at this point
Commits on Sep 4, 2017
bpo-31095: fix potential crash during GC (GH-3195)
Show description for 2eea952
methane
authored
2eea952
View commit details
Copy full SHA for 2eea952
View code at this point
Browse repository at this point
Commits on Apr 19, 2017
bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (#1096) (#1180)
Show description for 680fea4
serhiy-storchaka
authored
680fea4
View commit details
Copy full SHA for 680fea4
View code at this point
Browse repository at this point
Commits on Apr 1, 2017
bpo-29949: Fix set memory usage regression (GH-945)
Show description for efde51a
methane
authored
efde51a
View commit details
Copy full SHA for efde51a
View code at this point
Browse repository at this point
Commits on Nov 20, 2016
Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize
Show description for 0651583
serhiy-storchaka
committed
0651583
View commit details
Copy full SHA for 0651583
View code at this point
Browse repository at this point
Commits on Sep 12, 2016
Issue #28071: Add early-out for differencing from an empty set.
rhettinger
committed
4103e4d
View commit details
Copy full SHA for 4103e4d
View code at this point
Browse repository at this point
Commits on Apr 29, 2016
Removed unused initialization and the uninteresting comment.
rhettinger
committed
8421d71
View commit details
Copy full SHA for 8421d71
View code at this point
Browse repository at this point
Issue #26880: Removed redundant checks in set.__init__.
serhiy-storchaka
committed
fa07029
View commit details
Copy full SHA for fa07029
View code at this point
Browse repository at this point
Commits on Mar 30, 2016
Issue #26494: Fixed crash on iterating exhausting iterators.
Show description for ab479c4
serhiy-storchaka
committed
ab479c4
View commit details
Copy full SHA for ab479c4
View code at this point
Browse repository at this point
Issue #26494: Fixed crash on iterating exhausting iterators.
Show description for fbb1c5e
serhiy-storchaka
committed
fbb1c5e
View commit details
Copy full SHA for fbb1c5e
View code at this point
Browse repository at this point
Commits on Mar 27, 2016
Moved misplaced functions to the section for C API functions.
rhettinger
committed
3625af5
View commit details
Copy full SHA for 3625af5
View code at this point
Browse repository at this point
Commits on Mar 26, 2016
Responsibility for argument checking belongs in set.__init__() rather than set.__new__().
Show description for 2c257ab
rhettinger
committed
2c257ab
View commit details
Copy full SHA for 2c257ab
View code at this point
Browse repository at this point
Commits on Mar 25, 2016
Speed-up construction of empty sets by approx 12-14%.
rhettinger
committed
b72e21b
View commit details
Copy full SHA for b72e21b
View code at this point
Browse repository at this point
Commits on Feb 4, 2016
Add early-out for the common case where kwds is NULL (gives 1.1% speedup).
rhettinger
committed
f502154
View commit details
Copy full SHA for f502154
View code at this point
Browse repository at this point
Commits on Jan 1, 2016
merge 3.5
benjaminp
committed
3e47a13
View commit details
Copy full SHA for 3e47a13
View code at this point
Browse repository at this point
merge 3.4
benjaminp
committed
4e3dd51
View commit details
Copy full SHA for 4e3dd51
View code at this point
Browse repository at this point
merge 3.3
benjaminp
committed
630329e
View commit details
Copy full SHA for 630329e
View code at this point
Browse repository at this point
remove some copyright notices supserseded by the toplevel ones
benjaminp
committed
0e617e2
View commit details
Copy full SHA for 0e617e2
View code at this point
Browse repository at this point
Commits on Dec 19, 2015
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
Show description for a9406e7
serhiy-storchaka
committed
a9406e7
View commit details
Copy full SHA for a9406e7
View code at this point
Browse repository at this point
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
Show description for 5c4064e
serhiy-storchaka
committed
5c4064e
View commit details
Copy full SHA for 5c4064e
View code at this point
Browse repository at this point
Commits on Dec 15, 2015
Minor tweek. Counting down rather than up reduces register pressure.
rhettinger
committed
e449587
View commit details
Copy full SHA for e449587
View code at this point
Browse repository at this point
Commits on Dec 14, 2015
Undo inadvertent line swap
rhettinger
committed
86d322f
View commit details
Copy full SHA for 86d322f
View code at this point
Browse repository at this point
Hoist constant expressions (so->table and so->mask) out of the inner-loop.
rhettinger
committed
5088f60
View commit details
Copy full SHA for 5088f60
View code at this point
Browse repository at this point
Commits on Nov 18, 2015
Add assertion to verify the pre-condition in the comments.
rhettinger
committed
66f6238
View commit details
Copy full SHA for 66f6238
View code at this point
Browse repository at this point
Commits on Nov 17, 2015
Issue #25629: Move set fill/used updates out of inner loop
rhettinger
committed
6019c8c
View commit details
Copy full SHA for 6019c8c
View code at this point
Browse repository at this point
Commits on Aug 7, 2015
Move the active entry multiplication to later in the hash calculation
rhettinger
committed
4148195
View commit details
Copy full SHA for 4148195
View code at this point
Browse repository at this point
Restore frozenset hash caching removed in cf707dd190a9
rhettinger
committed
b501a27
View commit details
Copy full SHA for b501a27
View code at this point
Browse repository at this point
Commits on Aug 1, 2015
Fix comment typo
rhettinger
committed
a286a51
View commit details
Copy full SHA for a286a51
View code at this point
Browse repository at this point
Tweak the comments
rhettinger
committed
36c0500
View commit details
Copy full SHA for 36c0500
View code at this point
Browse repository at this point
Issue #24762: Speed-up frozenset_hash() and greatly beef-up the comments.
rhettinger
committed
fbffdef
View commit details
Copy full SHA for fbffdef
View code at this point
Browse repository at this point
Commits on Jul 31, 2015
Issue #24681: Move the most likely test first in set_add_entry().
rhettinger
committed
daffc91
View commit details
Copy full SHA for daffc91
View code at this point
Browse repository at this point
Commits on Jul 23, 2015
Issue #24681: Move the store of so->table to the code block where it is used.
rhettinger
committed
70559b5
View commit details
Copy full SHA for 70559b5
View code at this point
Browse repository at this point
Commits on Jul 20, 2015
Issue #24583: Consolidate previous set object updates into a single function
Show description for ff9e18a
rhettinger
committed
ff9e18a
View commit details
Copy full SHA for ff9e18a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.