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
Events
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
difflib.py
on
3.4
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 11, 2018
[3.4] bpo-32981: Fix catastrophic backtracking vulns (GH-5955) (#6035)
Show description for 942cc04
2 people
authored and
larryhastings
committed
942cc04
View commit details
Copy full SHA for 942cc04
View code at this point
Browse repository at this point
Commits on Nov 2, 2015
Issue #25523: Correct "a" article to "an" article
Show description for 7462b64
vadmium
committed
7462b64
View commit details
Copy full SHA for 7462b64
View code at this point
Browse repository at this point
Commits on Jun 21, 2014
Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks().
rhettinger
committed
fabefc3
View commit details
Copy full SHA for fabefc3
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 16, 2014
Issue #19936: Added executable bits or shebang lines to Python scripts which
Show description for 8f8ec92
serhiy-storchaka
committed
8f8ec92
View commit details
Copy full SHA for 8f8ec92
View code at this point
Browse repository at this point
Issue #19936: Added executable bits or shebang lines to Python scripts which
Show description for b992a0e
serhiy-storchaka
committed
b992a0e
View commit details
Copy full SHA for b992a0e
View code at this point
Browse repository at this point
Commits on Aug 17, 2013
#18705: merge with 3.3.
ezio-melotti
committed
9a3777e
View commit details
Copy full SHA for 9a3777e
View code at this point
Browse repository at this point
#18705: fix a number of typos. Patch by Févry Thibault.
ezio-melotti
committed
30b9d5d
View commit details
Copy full SHA for 30b9d5d
View code at this point
Browse repository at this point
Commits on Mar 19, 2013
Issue #13248: removed deprecated and undocumented difflib.isbjunk, isbpopular.
terryjreedy
committed
f027a20
View commit details
Copy full SHA for f027a20
View code at this point
Browse repository at this point
Commits on Oct 1, 2012
utilize yield from
pjenvey
committed
4993cc0
View commit details
Copy full SHA for 4993cc0
View code at this point
Browse repository at this point
Commits on Dec 10, 2011
Fix comment in difflib.
florentx
committed
7f1c15b
View commit details
Copy full SHA for 7f1c15b
View code at this point
Browse repository at this point
Commits on Sep 28, 2011
#13012: use splitlines(keepends=True/False) instead of splitlines(0/1).
ezio-melotti
committed
d8b509b
View commit details
Copy full SHA for d8b509b
View code at this point
Browse repository at this point
Commits on Apr 12, 2011
Issue 11747: Fix output format for context diffs.
rhettinger
committed
9180deb
View commit details
Copy full SHA for 9180deb
View code at this point
Browse repository at this point
Commits on Apr 11, 2011
Issue #11747: Fix range formatting in context and unified diffs.
rhettinger
committed
49353d0
View commit details
Copy full SHA for 49353d0
View code at this point
Browse repository at this point
Cleanup and modernize code prior to working on Issue 11747.
rhettinger
committed
47e120e
View commit details
Copy full SHA for 47e120e
View code at this point
Browse repository at this point
Commits on Mar 16, 2011
#11565: Merge with 3.1.
ezio-melotti
committed
3b3499b
View commit details
Copy full SHA for 3b3499b
View code at this point
Browse repository at this point
#11565: Fix several typos. Patch by Piotr Kasprzyk.
ezio-melotti
committed
1392500
View commit details
Copy full SHA for 1392500
View code at this point
Browse repository at this point
Commits on Dec 15, 2010
Issue 10534, difflib: tweak doc; test new SequenceMatcher instance attributes; avoid unneeded lists of SM.b2j keys and items in .__chain_b. Do not backport.
terryjreedy
committed
17a5925
View commit details
Copy full SHA for 17a5925
View code at this point
Browse repository at this point
Commits on Dec 3, 2010
Issue 10534 deprecate isbjunk and isbpopular methods.
Show description for bcd8988
terryjreedy
committed
bcd8988
View commit details
Copy full SHA for bcd8988
View code at this point
Browse repository at this point
terryjreedy
committed
74a7c67
View commit details
Copy full SHA for 74a7c67
View code at this point
Browse repository at this point
Commits on Nov 25, 2010
Issue 2986: Add autojunk paramater to SequenceMatcher to turn off heuristic. Patch by Terry Reedy, Eli Bendersky, and Simon Cross
terryjreedy
committed
99f9637
View commit details
Copy full SHA for 99f9637
View code at this point
Browse repository at this point
Commits on Apr 12, 2010
Merged revisions 80004 via svnmerge from
Show description for b2416e5
bitdancer
committed
b2416e5
View commit details
Copy full SHA for b2416e5
View code at this point
Browse repository at this point
Commits on Mar 11, 2010
convert shebang lines: python -> python3
benjaminp
committed
90f5ba5
View commit details
Copy full SHA for 90f5ba5
View code at this point
Browse repository at this point
Commits on Nov 23, 2009
Merged revisions 76469 via svnmerge from
Show description for d884f8a
orsenthil
committed
d884f8a
View commit details
Copy full SHA for d884f8a
View code at this point
Browse repository at this point
Merged revisions 76464 via svnmerge from
Show description for 758025c
orsenthil
committed
758025c
View commit details
Copy full SHA for 758025c
View code at this point
Browse repository at this point
Commits on Feb 21, 2009
Merged revisions 69846 via svnmerge from
Show description for 934896d
mdickinson
committed
934896d
View commit details
Copy full SHA for 934896d
View code at this point
Browse repository at this point
Commits on Jan 11, 2008
Merged revisions 59883-59920 via svnmerge from
Show description for 25bb783
tiran
committed
25bb783
View commit details
Copy full SHA for 25bb783
View code at this point
Browse repository at this point
Commits on Aug 30, 2007
Raise statement normalization in Lib/.
collinw
committed
ce36ad8
View commit details
Copy full SHA for ce36ad8
View code at this point
Browse repository at this point
Commits on Jul 3, 2007
Merged revisions 56125-56153 via svnmerge from
Show description for c1f779c
gvanrossum
committed
c1f779c
View commit details
Copy full SHA for c1f779c
View code at this point
Browse repository at this point
Commits on Jun 30, 2007
Merged revisions 56020-56124 via svnmerge from
Show description for 486364b
gvanrossum
committed
486364b
View commit details
Copy full SHA for 486364b
View code at this point
Browse repository at this point
Commits on May 7, 2007
Merged revisions 55007-55179 via svnmerge from
Show description for 805365e
gvanrossum
committed
805365e
View commit details
Copy full SHA for 805365e
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 Apr 21, 2007
PEP 3114: rename .next() to .__next__() and add next() builtin.
birkenfeld
committed
a18af4e
View commit details
Copy full SHA for a18af4e
View code at this point
Browse repository at this point
Commits on Feb 11, 2007
- PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;
Show description for cc2b016
gvanrossum
committed
cc2b016
View commit details
Copy full SHA for cc2b016
View code at this point
Browse repository at this point
Commits on Feb 9, 2007
Revert doubly-converted doctests.
gvanrossum
committed
fff80df
View commit details
Copy full SHA for fff80df
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.