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
.
githubink
/
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
master
User selector
All users
All time
Commit history
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
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
Previous
Next
You can’t perform that action at this time.