Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
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 or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Reseting focus
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
Public
Notifications
You must be signed in to change notification settings
Fork
31.8k
Star
66.7k
Code
Issues
5k+
Pull requests
1.8k
Actions
Projects
28
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Commits
Breadcrumbs
History for
cpython
Lib
difflib.py
on
3.13
User selector
All users
Datepicker
All time
Commit History
Commits on Mar 14, 2025
[3.13] gh-131204: Fix `difflib.HtmlDiff` may not use monospaced font (GH-131221) (#131242)
Show description for 130fa4c
Wulian233
authored
130fa4c
Copy full SHA for 130fa4c
Commits on Apr 27, 2022
Correct method name typo (#91970)
supakeen
authored
c6b84a7
Copy full SHA for c6b84a7
Commits on Oct 6, 2021
Fix typos in the Lib directory (GH-28775)
Show description for 745c9d9
cclauss
and
terryjreedy
authored
745c9d9
Copy full SHA for 745c9d9
Commits on Sep 21, 2021
bpo-45216: Remove extraneous method docs from `difflib` (GH-28445)
sobolevn
authored
06e1773
Copy full SHA for 06e1773
Commits on Apr 30, 2020
bpo-40394 - difflib.SequenceMatched.find_longest_match default args (GH-19742)
Show description for 3209cbd
lrjball
authored
3209cbd
Copy full SHA for 3209cbd
Commits on Apr 10, 2020
bpo-39481: PEP 585 for difflib, filecmp, fileinput (#19422)
emmatyping
authored
e3ec44d
Copy full SHA for e3ec44d
Commits on Nov 12, 2019
bpo-38738: Fix formatting of True and False. (GH-17083)
Show description for 138ccbb
serhiy-storchaka
authored
138ccbb
Copy full SHA for 138ccbb
Commits on Aug 21, 2019
Fix difflib `?` hint in diff output when dealing with tabs (#15201)
asottile
authored and
tim-one
committed
e1c638d
Copy full SHA for e1c638d
Commits on Jan 2, 2019
Revert "bpo-35603: Escape table header of make_table output that can cause potential XSS. (GH-11341)" (GH-11356)
Show description for 830ddc7
serhiy-storchaka
authored
830ddc7
Copy full SHA for 830ddc7
Commits on Dec 29, 2018
bpo-35603: Escape table header of make_table output that can cause potential XSS. (GH-11341)
tirkarthi
authored and
serhiy-storchaka
committed
78de011
Copy full SHA for 78de011
Commits on Apr 5, 2018
bpo-33224: PEP 479 fix for difflib.mdiff() (GH-6381)
rhettinger
authored
01b731f
Copy full SHA for 01b731f
Commits on Mar 4, 2018
bpo-32981: Fix catastrophic backtracking vulns (#5955)
Show description for 0e6c8ee
3 people
authored and
benjaminp
committed
0e6c8ee
Copy full SHA for 0e6c8ee
Commits on Apr 5, 2017
bpo-29762: More use "raise from None". (#569)
Show description for 5affd23
serhiy-storchaka
authored
5affd23
Copy full SHA for 5affd23
Commits on Sep 8, 2016
#27364: fix "incorrect" uses of escape character in the stdlib.
Show description for 44b548d
bitdancer
committed
44b548d
Copy full SHA for 44b548d
Commits on Nov 2, 2015
Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5
vadmium
committed
2eb819f
Copy full SHA for 2eb819f
Issue #25523: Correct "a" article to "an" article
Show description for 7462b64
vadmium
committed
7462b64
Copy full SHA for 7462b64
Commits on May 22, 2015
Issue 24237: Raise PendingDeprecationWarning per PEP 479
Show description for 6833339
1st1
committed
6833339
Copy full SHA for 6833339
Commits on May 9, 2015
PEP 479: Change StopIteration handling inside generators.
Show description for 8170e8c
1st1
committed
8170e8c
Copy full SHA for 8170e8c
Commits on Apr 21, 2015
#17445: difflib: add diff_bytes(), to compare bytes rather than str
Show description for 4d9d256
gward
committed
4d9d256
Copy full SHA for 4d9d256
Commits on Mar 14, 2015
Issue #2052: Add charset parameter to HtmlDiff.make_file().
berkerpeksag
committed
102029d
Copy full SHA for 102029d
Commits on Aug 4, 2014
Use two-argument form of next() and use a return-statement instead of an explicit raise StopIteration
rhettinger
committed
bbeac6e
Copy full SHA for bbeac6e
Make the import private to keep the global namespace clean.
rhettinger
committed
ae39fbd
Copy full SHA for ae39fbd
Use reversed() instead of creating a new temporary list.
rhettinger
committed
f25a38e
Copy full SHA for f25a38e
Commits on Jun 21, 2014
merge
rhettinger
committed
986efa0
Copy full SHA for 986efa0
Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks().
rhettinger
committed
fabefc3
Copy full SHA for fabefc3
Commits on Mar 20, 2014
(Merge 3.4) Issue #20976: pyflakes: Remove unused imports
vstinner
committed
03ce1c0
Copy full SHA for 03ce1c0
Issue #20976: pyflakes: Remove unused imports
vstinner
committed
7fa767e
Copy full SHA for 7fa767e
Commits on Mar 19, 2014
#14332: provide a better explanation of junk in difflib docs
Show description for c51da2b
akuchling
committed
c51da2b
Copy full SHA for c51da2b
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
Copy full SHA for 8f8ec92
Issue #19936: Added executable bits or shebang lines to Python scripts which
Show description for b992a0e
serhiy-storchaka
committed
b992a0e
Copy full SHA for b992a0e
Commits on Aug 17, 2013
#18705: merge with 3.3.
ezio-melotti
committed
9a3777e
Copy full SHA for 9a3777e
#18705: fix a number of typos. Patch by Févry Thibault.
ezio-melotti
committed
30b9d5d
Copy full SHA for 30b9d5d
Commits on Mar 19, 2013
Issue #13248: removed deprecated and undocumented difflib.isbjunk, isbpopular.
terryjreedy
committed
f027a20
Copy full SHA for f027a20
Commits on Oct 1, 2012
utilize yield from
pjenvey
committed
4993cc0
Copy full SHA for 4993cc0
Commits on Dec 10, 2011
Fix comment in difflib.
florentx
committed
7f1c15b
Copy full SHA for 7f1c15b
Pagination
Previous
Next
You can’t perform that action at this time.