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
Modules
_functoolsmodule.c
on
3.7
User selector
All users
All time
Commit history
Commits on Apr 20, 2019
bpo-36650: Fix handling of empty keyword args in C version of lru_cache. (GH-12881) (GH-12888)
Show description for 8b30ee8
miss-islington
and
rhettinger
committed
8b30ee8
View commit details
Copy full SHA for 8b30ee8
View code at this point
Browse repository at this point
Commits on Feb 9, 2019
lru_cache: Add more comments. Fix comment typos. Clarify a comment. (GH-11795) (GH-11798)
miss-islington
authored and
rhettinger
committed
7c78393
View commit details
Copy full SHA for 7c78393
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) (GH-11716)
miss-islington
authored and
rhettinger
committed
533a9b4
View commit details
Copy full SHA for 533a9b4
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) (GH-11682)
miss-islington
authored and
rhettinger
committed
b2b023c
View commit details
Copy full SHA for b2b023c
View code at this point
Browse repository at this point
Commits on Dec 25, 2017
bpo-32422: Reduce lru_cache memory usage (GH-5008)
methane
authored
3070b71
View commit details
Copy full SHA for 3070b71
View code at this point
Browse repository at this point
Commits on Sep 17, 2017
bpo-31497: Add private helper _PyType_Name(). (#3630)
Show description for 4ab46d7
serhiy-storchaka
authored
4ab46d7
View commit details
Copy full SHA for 4ab46d7
View code at this point
Browse repository at this point
Commits on Sep 8, 2017
bpo-30860: Consolidate stateful runtime globals. (#3397)
Show description for 2ebc5ce
ericsnowcurrently
authored
2ebc5ce
View commit details
Copy full SHA for 2ebc5ce
View code at this point
Browse repository at this point
Commits on Aug 24, 2017
bpo-31095: fix potential crash during GC (GH-2974)
methane
authored
a6296d3
View commit details
Copy full SHA for a6296d3
View code at this point
Browse repository at this point
Commits on Mar 30, 2017
bpo-29878: Add global instances of int for 0 and 1. (#852)
serhiy-storchaka
authored
ba85d69
View commit details
Copy full SHA for ba85d69
View code at this point
Browse repository at this point
Commits on Mar 25, 2017
Simplify partial.__new__. (#813)
Show description for 3c749fc
serhiy-storchaka
authored and
vstinner
committed
3c749fc
View commit details
Copy full SHA for 3c749fc
View code at this point
Browse repository at this point
Commits on Mar 15, 2017
bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords are not strings (#649)
MSeifert04
authored and
serhiy-storchaka
committed
6c3d527
View commit details
Copy full SHA for 6c3d527
View code at this point
Browse repository at this point
Commits on Mar 14, 2017
bpo-29735: Optimize partial_call(): avoid tuple (#516)
Show description for 0f7b0b3
vstinner
authored
0f7b0b3
View commit details
Copy full SHA for 0f7b0b3
View code at this point
Browse repository at this point
Commits on Feb 23, 2017
Document why functools.partial() must copy kwargs (#253)
Show description for 561ca80
vstinner
authored
561ca80
View commit details
Copy full SHA for 561ca80
View code at this point
Browse repository at this point
Commits on Feb 20, 2017
bpo-29532: Altering a kwarg dictionary passed to functools.partial() (#190)
Show description for 9639e4a
serhiy-storchaka
authored
9639e4a
View commit details
Copy full SHA for 9639e4a
View code at this point
Browse repository at this point
Commits on Jan 12, 2017
Issue #28969: Fixed race condition in C implementation of functools.lru_cache.
Show description for 617c775
serhiy-storchaka
committed
617c775
View commit details
Copy full SHA for 617c775
View code at this point
Browse repository at this point
Issue #28969: Fixed race condition in C implementation of functools.lru_cache.
Show description for 42e1ea9
serhiy-storchaka
committed
42e1ea9
View commit details
Copy full SHA for 42e1ea9
View code at this point
Browse repository at this point
Issue #28969: Fixed race condition in C implementation of functools.lru_cache.
Show description for 6779652
serhiy-storchaka
committed
6779652
View commit details
Copy full SHA for 6779652
View code at this point
Browse repository at this point
Commits on Jan 9, 2017
Backed out changeset ea064ff3c10f
rhettinger
committed
68191f8
View commit details
Copy full SHA for 68191f8
View code at this point
Browse repository at this point
Sync-up lru_cache() C code with space saving feature in the Python version.
rhettinger
committed
9d60b94
View commit details
Copy full SHA for 9d60b94
View code at this point
Browse repository at this point
Complete the merge for issue #29203
rhettinger
committed
dda4468
View commit details
Copy full SHA for dda4468
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 #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict.
serhiy-storchaka
committed
5ab81d7
View commit details
Copy full SHA for 5ab81d7
View code at this point
Browse repository at this point
Commits on Dec 6, 2016
Use _PyObject_CallNoArg()
Show description for a5ed5f0
vstinner
committed
a5ed5f0
View commit details
Copy full SHA for a5ed5f0
View code at this point
Browse repository at this point
Commits on Nov 9, 2016
Merge 3.6 (issue #28653)
Yury Selivanov
committed
0a66a1c
View commit details
Copy full SHA for 0a66a1c
View code at this point
Browse repository at this point
Issue #28653: Fix a refleak in functools.lru_cache.
Yury Selivanov
committed
46a02db
View commit details
Copy full SHA for 46a02db
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 Aug 23, 2016
Issue #27809: partial_call() uses fast call for positional args
vstinner
committed
f4d28d4
View commit details
Copy full SHA for f4d28d4
View code at this point
Browse repository at this point
Commits on Aug 22, 2016
Rename _PyObject_FastCall() to _PyObject_FastCallDict()
Show description for 559bb6a
vstinner
committed
559bb6a
View commit details
Copy full SHA for 559bb6a
View code at this point
Browse repository at this point
Commits on Aug 19, 2016
keyobject_richcompare() now uses fast call
Show description for f7a4c48
vstinner
committed
f7a4c48
View commit details
Copy full SHA for f7a4c48
View code at this point
Browse repository at this point
Commits on Jun 12, 2016
Issue #25455: Fixed a crash in repr of recursive functools.partial objects.
serhiy-storchaka
committed
179f960
View commit details
Copy full SHA for 179f960
View code at this point
Browse repository at this point
Commits on Apr 11, 2016
Issue #26200: Restored more safe usages of Py_SETREF.
serhiy-storchaka
committed
864b63c
View commit details
Copy full SHA for 864b63c
View code at this point
Browse repository at this point
Commits on Apr 6, 2016
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
serhiy-storchaka
committed
4884271
View commit details
Copy full SHA for 4884271
View code at this point
Browse repository at this point
Commits on Feb 2, 2016
Issue #25945: Fixed bugs in functools.partial.
Show description for 3874128
serhiy-storchaka
committed
3874128
View commit details
Copy full SHA for 3874128
View code at this point
Browse repository at this point
Commits on Dec 28, 2015
Issue #25447: Copying the lru_cache() wrapper object now always works,
Show description for e4d65e3
serhiy-storchaka
committed
e4d65e3
View commit details
Copy full SHA for e4d65e3
View code at this point
Browse repository at this point
Commits on Oct 24, 2015
Issue #25447: The lru_cache() wrapper objects now can be copied and pickled
Show description for 45120f2
serhiy-storchaka
committed
45120f2
View commit details
Copy full SHA for 45120f2
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.