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
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.7k
(2.7k)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cpython
Lib
functools.py
on
3.8
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 2, 2020
[3.8] bpo-39815: add cached_property to all (GH-18726) (GH-18728)
Show description for 12b7143
pablogsal
and
hakancelikdev
authored
12b7143
View commit details
Copy full SHA for 12b7143
View code at this point
Browse repository at this point
Commits on Sep 16, 2019
Doc: Fix Wikipedia link for functools.lru_cache (GH-16183)
Show description for 917c622
miss-islington
and
amist
authored
917c622
View commit details
Copy full SHA for 917c622
View code at this point
Browse repository at this point
Commits on Aug 29, 2019
bpo-36743: __get__ is sometimes called without the owner argument (GH-12992) (GH-15589)
Show description for c71ae1a
miss-islington
and
rhettinger
committed
c71ae1a
View commit details
Copy full SHA for c71ae1a
View code at this point
Browse repository at this point
Commits on Jun 1, 2019
bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)
serhiy-storchaka
authored
2085bd0
View commit details
Copy full SHA for 2085bd0
View code at this point
Browse repository at this point
Commits on May 26, 2019
bpo-36772 Allow lru_cache to be used as decorator without making a function call (GH-13048)
rhettinger
authored
b821868
View commit details
Copy full SHA for b821868
View code at this point
Browse repository at this point
Commits on May 19, 2019
bpo-35252: Remove FIXME from test_functools (GH-10551)
lysnikolaou
authored and
ambv
committed
d673810
View commit details
Copy full SHA for d673810
View code at this point
Browse repository at this point
Commits on May 6, 2019
bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)
serhiy-storchaka
authored
d53cf99
View commit details
Copy full SHA for d53cf99
View code at this point
Browse repository at this point
Commits on Apr 1, 2019
bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)
Show description for 42a139e
serhiy-storchaka
authored
42a139e
View commit details
Copy full SHA for 42a139e
View code at this point
Browse repository at this point
Commits on Mar 27, 2019
bpo-36431: Use PEP 448 dict unpacking for merging two dicts. (GH-12553)
serhiy-storchaka
authored
da08470
View commit details
Copy full SHA for da08470
View code at this point
Browse repository at this point
Commits on Jan 31, 2019
Consistently move the misses update to just before the user function call (GH-11715)
rhettinger
authored
ffdf1c3
View commit details
Copy full SHA for ffdf1c3
View code at this point
Browse repository at this point
Commits on Jan 26, 2019
bpo-35780: Fix errors in lru_cache() C code (GH-11623)
rhettinger
authored
d8080c0
View commit details
Copy full SHA for d8080c0
View code at this point
Browse repository at this point
Commits on Oct 26, 2018
bpo-34890: Make iscoroutinefunction, isgeneratorfunction and isasyncgenfunction work with functools.partial (GH-9903)
Show description for 7cd2543
pablogsal
authored
7cd2543
View commit details
Copy full SHA for 7cd2543
View code at this point
Browse repository at this point
Commits on Oct 25, 2018
bpo-32321: Add pure Python fallback for functools.reduce (GH-8548)
madman-bob
authored and
vstinner
committed
e25d5fc
View commit details
Copy full SHA for e25d5fc
View code at this point
Browse repository at this point
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
Previous
Next
You can’t perform that action at this time.