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
Tools
scripts
ndiff.py
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Nov 23, 2013
Issue #15204: Deprecated the 'U' mode in file-like objects.
serhiy-storchaka
committed
6787a38
View commit details
Copy full SHA for 6787a38
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 Aug 3, 2007
Convert print statements to function calls in Tools/.
collinw
committed
6afaeb7
View commit details
Copy full SHA for 6afaeb7
View code at this point
Browse repository at this point
Commits on Jan 10, 2007
SF patch 1631942 by Collin Winter:
Show description for b940e11
gvanrossum
committed
b940e11
View commit details
Copy full SHA for b940e11
View code at this point
Browse repository at this point
Commits on Oct 3, 2004
Read the text files to be compared in universal-newline mode.
tim-one
committed
130e37f
View commit details
Copy full SHA for 130e37f
View code at this point
Browse repository at this point
Commits on May 13, 2003
Prevent script from allowing '-r12'
akuchling
committed
a2f7728
View commit details
Copy full SHA for a2f7728
View code at this point
Browse repository at this point
Commits on Sep 23, 2001
Generalize file.writelines() to allow iterable objects.
tim-one
committed
2c9aa5e
View commit details
Copy full SHA for 2c9aa5e
View code at this point
Browse repository at this point
Commits on Sep 22, 2001
Fix restore (difflib.restore() became a generator too).
tim-one
committed
42b6877
View commit details
Copy full SHA for 42b6877
View code at this point
Browse repository at this point
Make difflib.ndiff() and difflib.Differ.compare() generators. This
Show description for 8a9c284
tim-one
committed
8a9c284
View commit details
Copy full SHA for 8a9c284
View code at this point
Browse repository at this point
Commits on Aug 12, 2001
SF patch #445412 extract ndiff functionality to difflib, from
Show description for 5e824c3
tim-one
committed
5e824c3
View commit details
Copy full SHA for 5e824c3
View code at this point
Browse repository at this point
Commits on Feb 10, 2001
Moved SequenceMatcher from ndiff into new std library module difflib.py.
Show description for 9ae2148
tim-one
committed
9ae2148
View commit details
Copy full SHA for 9ae2148
View code at this point
Browse repository at this point
Commits on Dec 9, 2000
SF bug 124051: ndiff "?" lines can be confusing. Well, they still can, but
Show description for 2f1aeb9
tim-one
committed
2f1aeb9
View commit details
Copy full SHA for 2f1aeb9
View code at this point
Browse repository at this point
Commits on Nov 1, 2000
Hack ndiff to display lines w/ leading tabs more intuitively. This synchs
Show description for 0d430e2
tim-one
committed
0d430e2
View commit details
Copy full SHA for 0d430e2
View code at this point
Browse repository at this point
Commits on Mar 28, 1999
Tim Peters writes:
Show description for 02ef28b
gvanrossum
committed
02ef28b
View commit details
Copy full SHA for 02ef28b
View code at this point
Browse repository at this point
Commits on Mar 27, 1999
Tim Peters writes:
Show description for a3433e8
gvanrossum
committed
a3433e8
View commit details
Copy full SHA for a3433e8
View code at this point
Browse repository at this point
Commits on May 8, 1998
Add the specific sed statement to recover the second output file to
Show description for 27c225e
gvanrossum
committed
27c225e
View commit details
Copy full SHA for 27c225e
View code at this point
Browse repository at this point
Commits on May 6, 1998
Adding Tim Peters' ndiff utility.
Show description for 83b8518
gvanrossum
committed
83b8518
View commit details
Copy full SHA for 83b8518
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.