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
Lib
functools.py
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Aug 28, 2018
bpo-21145: Add cached_property decorator in functools (#6982)
Show description for d658dea
carljm
authored and
ncoghlan
committed
d658dea
View commit details
Copy full SHA for d658dea
View code at this point
Browse repository at this point
Commits on Jul 10, 2018
bpo-33967: Fix singledispatch raised IndexError when no args (GH-8184)
corona10
authored and
methane
committed
445f1b3
View commit details
Copy full SHA for 445f1b3
View code at this point
Browse repository at this point
Commits on May 26, 2018
bpo-32380: Create functools.singledispatchmethod (#6306)
emmatyping
authored and
ambv
committed
c651275
View commit details
Copy full SHA for c651275
View code at this point
Browse repository at this point
Commits on Dec 11, 2017
bpo-32227: functools.singledispatch supports registering via type annotations (#4733)
ambv
authored
e569753
View commit details
Copy full SHA for e569753
View code at this point
Browse repository at this point
Commits on Sep 30, 2017
bpo-31581: Reduce the number of imports for functools (GH-3757)
methane
authored
9811e80
View commit details
Copy full SHA for 9811e80
View code at this point
Browse repository at this point
Commits on Sep 7, 2017
bpo-31370: Remove support for threads-less builds (#3385)
Show description for a6a4dc8
pitrou
authored and
vstinner
committed
a6a4dc8
View commit details
Copy full SHA for a6a4dc8
View code at this point
Browse repository at this point
Commits on Sep 5, 2017
Conceptually, roots is a set. Also searching it as a set is a tiny bit faster (#3338)
rhettinger
authored
15ce0be
View commit details
Copy full SHA for 15ce0be
View code at this point
Browse repository at this point
Add comment to explain the implications of not sorting keywords (#3331)
Show description for 5503709
rhettinger
authored
5503709
View commit details
Copy full SHA for 5503709
View code at this point
Browse repository at this point
Commits on Jan 9, 2017
merge
rhettinger
committed
ac7c5ac
View commit details
Copy full SHA for ac7c5ac
View code at this point
Browse repository at this point
Issue #29203: functools.lru_cache() now respects PEP 468
rhettinger
committed
4ee3914
View commit details
Copy full SHA for 4ee3914
View code at this point
Browse repository at this point
Commits on Dec 16, 2016
Issue #28991: Address comment that the __len__ call looked unattractive
rhettinger
committed
b2d4b3d
View commit details
Copy full SHA for b2d4b3d
View code at this point
Browse repository at this point
merge
rhettinger
committed
c28dbd0
View commit details
Copy full SHA for c28dbd0
View code at this point
Browse repository at this point
Issue #28991: Fix obscure reentrancy bug in functools.lru_cache().
rhettinger
committed
af56e0e
View commit details
Copy full SHA for af56e0e
View code at this point
Browse repository at this point
Commits on Sep 10, 2016
Issue #27137: align Python & C implementations of functools.partial
Show description for 457fc9a
ncoghlan
committed
457fc9a
View commit details
Copy full SHA for 457fc9a
View code at this point
Browse repository at this point
Commits on Oct 24, 2015
Removed redundant call of update_wrapper().
serhiy-storchaka
committed
ce2295d
View commit details
Copy full SHA for ce2295d
View code at this point
Browse repository at this point
Commits on Aug 18, 2015
Issue #23572: Fixed functools.singledispatch on classes with falsy metaclasses.
Show description for 77a8cd6
Yury Selivanov
committed
77a8cd6
View commit details
Copy full SHA for 77a8cd6
View code at this point
Browse repository at this point
Commits on May 24, 2015
Backed out changeset: b0a0b9b59012
serhiy-storchaka
committed
46c5611
View commit details
Copy full SHA for 46c5611
View code at this point
Browse repository at this point
Commits on May 23, 2015
Backed out changeset 57776eee74f2
larryhastings
committed
8252cc9
View commit details
Copy full SHA for 8252cc9
View code at this point
Browse repository at this point
Issue #14373: Added C implementation of functools.lru_cache(). Based on
Show description for 1c858c3
serhiy-storchaka
committed
1c858c3
View commit details
Copy full SHA for 1c858c3
View code at this point
Browse repository at this point
Commits on May 20, 2015
Issue #16261: Converted some bare except statements to except statements
Show description for ba9ac5b
serhiy-storchaka
committed
ba9ac5b
View commit details
Copy full SHA for ba9ac5b
View code at this point
Browse repository at this point
Commits on May 13, 2015
Reduce the overhead in functools.total_ordering by localizing NotImplemented.
Show description for ffcd849
rhettinger
committed
ffcd849
View commit details
Copy full SHA for ffcd849
View code at this point
Browse repository at this point
Commits on Mar 1, 2015
Issue #7830: Flatten nested functools.partial.
abalkin
committed
e49af34
View commit details
Copy full SHA for e49af34
View code at this point
Browse repository at this point
Commits on Jan 31, 2015
Issue #23326: Removed __ne__ implementations. Since fixing default __ne__
Show description for 08448a1
serhiy-storchaka
committed
08448a1
View commit details
Copy full SHA for 08448a1
View code at this point
Browse repository at this point
Commits on Jan 14, 2015
No need to rebuild a constant dictionary on every call. Move convert mapping to module level.
rhettinger
committed
1a8ada8
View commit details
Copy full SHA for 1a8ada8
View code at this point
Browse repository at this point
Commits on Jan 7, 2015
Minor speed-up. Use local variable instead of a global lookup.
rhettinger
committed
e5db863
View commit details
Copy full SHA for e5db863
View code at this point
Browse repository at this point
Commits on Jan 6, 2015
merge
rhettinger
committed
57a3786
View commit details
Copy full SHA for 57a3786
View code at this point
Browse repository at this point
Issue #23132: Mitigate regression in speed and clarity in functools.total_ordering.
rhettinger
committed
0603d30
View commit details
Copy full SHA for 0603d30
View code at this point
Browse repository at this point
Commits on Jan 1, 2015
Issue #23132: Improve performance and introspection support of comparison
Show description for 697a526
serhiy-storchaka
committed
697a526
View commit details
Copy full SHA for 697a526
View code at this point
Browse repository at this point
Commits on Aug 12, 2014
merge
rhettinger
committed
92c7b90
View commit details
Copy full SHA for 92c7b90
View code at this point
Browse repository at this point
Issue 22184: Early detection and reporting of missing lru_cache parameters
rhettinger
committed
4d58897
View commit details
Copy full SHA for 4d58897
View code at this point
Browse repository at this point
Commits on Jul 22, 2014
Issue #22032: __qualname__ instead of __name__ is now always used to format
Show description for 521e586
serhiy-storchaka
committed
521e586
View commit details
Copy full SHA for 521e586
View code at this point
Browse repository at this point
Commits on Mar 20, 2014
Issue #20976: pyflakes: Remove unused imports
vstinner
committed
7fa767e
View commit details
Copy full SHA for 7fa767e
View code at this point
Browse repository at this point
Commits on Jan 27, 2014
inspect.signature: Add support for 'functools.partialmethod' #20223
Yury Selivanov
committed
da5fe4f
View commit details
Copy full SHA for da5fe4f
View code at this point
Browse repository at this point
Commits on Nov 4, 2013
Fix functools.partialmethod docs and __all__
ncoghlan
committed
3daaf5f
View commit details
Copy full SHA for 3daaf5f
View code at this point
Browse repository at this point
Commits on Nov 3, 2013
Issue #4331: Added functools.partialmethod
Show description for f4cb48a
ncoghlan
committed
f4cb48a
View commit details
Copy full SHA for f4cb48a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.