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
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 }}
aaronsgithub
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
difflib.py
on
main
User selector
All users
All time
Commit history
Commits on Apr 27, 2022
Correct method name typo (#91970)
supakeen
authored
c6b84a7
View commit details
Copy full SHA for c6b84a7
View code at this point
Browse repository at this point
Commits on Oct 6, 2021
Fix typos in the Lib directory (GH-28775)
Show description for 745c9d9
cclauss
and
terryjreedy
authored
745c9d9
View commit details
Copy full SHA for 745c9d9
View code at this point
Browse repository at this point
Commits on Sep 21, 2021
bpo-45216: Remove extraneous method docs from `difflib` (GH-28445)
sobolevn
authored
06e1773
View commit details
Copy full SHA for 06e1773
View code at this point
Browse repository at this point
Commits on Apr 30, 2020
bpo-40394 - difflib.SequenceMatched.find_longest_match default args (GH-19742)
Show description for 3209cbd
lrjball
authored
3209cbd
View commit details
Copy full SHA for 3209cbd
View code at this point
Browse repository at this point
Commits on Apr 10, 2020
bpo-39481: PEP 585 for difflib, filecmp, fileinput (#19422)
emmatyping
authored
e3ec44d
View commit details
Copy full SHA for e3ec44d
View code at this point
Browse repository at this point
Commits on Nov 12, 2019
bpo-38738: Fix formatting of True and False. (GH-17083)
Show description for 138ccbb
serhiy-storchaka
authored
138ccbb
View commit details
Copy full SHA for 138ccbb
View code at this point
Browse repository at this point
Commits on Aug 21, 2019
Fix difflib `?` hint in diff output when dealing with tabs (#15201)
asottile
authored and
tim-one
committed
e1c638d
View commit details
Copy full SHA for e1c638d
View code at this point
Browse repository at this point
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
View commit details
Copy full SHA for 830ddc7
View code at this point
Browse repository at this point
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
View commit details
Copy full SHA for 78de011
View code at this point
Browse repository at this point
Commits on Apr 5, 2018
bpo-33224: PEP 479 fix for difflib.mdiff() (GH-6381)
rhettinger
authored
01b731f
View commit details
Copy full SHA for 01b731f
View code at this point
Browse repository at this point
Commits on Mar 4, 2018
bpo-32981: Fix catastrophic backtracking vulns (#5955)
Show description for 0e6c8ee
3 people
authored and
benjaminp
committed
0e6c8ee
View commit details
Copy full SHA for 0e6c8ee
View code at this point
Browse repository at this point
Commits on Apr 5, 2017
bpo-29762: More use "raise from None". (#569)
Show description for 5affd23
serhiy-storchaka
authored
5affd23
View commit details
Copy full SHA for 5affd23
View code at this point
Browse repository at this point
Commits on Sep 8, 2016
#27364: fix "incorrect" uses of escape character in the stdlib.
Show description for 44b548d
bitdancer
committed
44b548d
View commit details
Copy full SHA for 44b548d
View code at this point
Browse repository at this point
Commits on Nov 2, 2015
Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5
vadmium
committed
2eb819f
View commit details
Copy full SHA for 2eb819f
View code at this point
Browse repository at this point
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 May 22, 2015
Issue 24237: Raise PendingDeprecationWarning per PEP 479
Show description for 6833339
Yury Selivanov
committed
6833339
View commit details
Copy full SHA for 6833339
View code at this point
Browse repository at this point
Commits on May 9, 2015
PEP 479: Change StopIteration handling inside generators.
Show description for 8170e8c
Yury Selivanov
committed
8170e8c
View commit details
Copy full SHA for 8170e8c
View code at this point
Browse repository at this point
Commits on Apr 21, 2015
#17445: difflib: add diff_bytes(), to compare bytes rather than str
Show description for 4d9d256
gward
committed
4d9d256
View commit details
Copy full SHA for 4d9d256
View code at this point
Browse repository at this point
Commits on Mar 14, 2015
Issue #2052: Add charset parameter to HtmlDiff.make_file().
berkerpeksag
committed
102029d
View commit details
Copy full SHA for 102029d
View code at this point
Browse repository at this point
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
View commit details
Copy full SHA for bbeac6e
View code at this point
Browse repository at this point
Make the import private to keep the global namespace clean.
rhettinger
committed
ae39fbd
View commit details
Copy full SHA for ae39fbd
View code at this point
Browse repository at this point
Use reversed() instead of creating a new temporary list.
rhettinger
committed
f25a38e
View commit details
Copy full SHA for f25a38e
View code at this point
Browse repository at this point
Commits on Jun 21, 2014
merge
rhettinger
committed
986efa0
View commit details
Copy full SHA for 986efa0
View code at this point
Browse repository at this point
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
(Merge 3.4) Issue #20976: pyflakes: Remove unused imports
vstinner
committed
03ce1c0
View commit details
Copy full SHA for 03ce1c0
View code at this point
Browse repository at this point
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 Mar 19, 2014
#14332: provide a better explanation of junk in difflib docs
Show description for c51da2b
akuchling
committed
c51da2b
View commit details
Copy full SHA for c51da2b
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
Previous
Next
You can’t perform that action at this time.