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
Developer articles
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
formatter.py
on
pythoncapi
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 16, 2015
Issue #25407: Drop the mention of the formatter module being removed
Show description for 5ad5a7d
brettcannon
committed
5ad5a7d
View commit details
Copy full SHA for 5ad5a7d
View code at this point
Browse repository at this point
Commits on Mar 27, 2015
Fix module deprecation warnings to have a useful stacklevel
brettcannon
committed
781692f
View commit details
Copy full SHA for 781692f
View code at this point
Browse repository at this point
Commits on Jan 5, 2015
Issue #18644: Fix a ResourceWarning in formatter.test().
Show description for 81da286
berkerpeksag
committed
81da286
View commit details
Copy full SHA for 81da286
View code at this point
Browse repository at this point
Issue #18644: Fix a ResourceWarning in formatter.test().
Show description for d91082c
berkerpeksag
committed
d91082c
View commit details
Copy full SHA for d91082c
View code at this point
Browse repository at this point
Commits on Mar 21, 2014
Issue #19165: The formatter module graduates to full deprecation.
brettcannon
committed
a77d0c3
View commit details
Copy full SHA for a77d0c3
View code at this point
Browse repository at this point
Commits on Oct 4, 2013
Issue #18716: Deprecate the formatter module
brettcannon
committed
1448ecf
View commit details
Copy full SHA for 1448ecf
View code at this point
Browse repository at this point
Commits on Sep 9, 2008
Fix formatter usage of filter(). Bug #3800.
birkenfeld
committed
7cd67cc
View commit details
Copy full SHA for 7cd67cc
View code at this point
Browse repository at this point
Commits on Jan 21, 2008
Merged revisions 60151-60159,60161-60168,60170,60172-60173,60175 via svnmerge from
Show description for 86def6c
birkenfeld
committed
86def6c
View commit details
Copy full SHA for 86def6c
View code at this point
Browse repository at this point
Commits on May 15, 2007
Merged revisions 55328-55341 via svnmerge from
Show description for 1bc535d
gvanrossum
committed
1bc535d
View commit details
Copy full SHA for 1bc535d
View code at this point
Browse repository at this point
Commits on Feb 9, 2007
Fix most trivially-findable print statements.
Show description for be19ed7
gvanrossum
committed
be19ed7
View commit details
Copy full SHA for be19ed7
View code at this point
Browse repository at this point
Commits on Dec 7, 2004
remove the other half of one of the regsub-related comments; the other
Show description for 333da5f
freddrake
committed
333da5f
View commit details
Copy full SHA for 333da5f
View code at this point
Browse repository at this point
Remove outdated references to the regsub module.
rhettinger
committed
57aef9c
View commit details
Copy full SHA for 57aef9c
View code at this point
Browse repository at this point
Commits on Feb 12, 2004
Replace backticks with repr() or "%r"
Show description for 70a6b49
doerwalter
committed
70a6b49
View commit details
Copy full SHA for 70a6b49
View code at this point
Browse repository at this point
Commits on Feb 27, 2003
Get rid of many apply() calls.
gvanrossum
committed
68468eb
View commit details
Copy full SHA for 68468eb
View code at this point
Browse repository at this point
Commits on Jun 3, 2002
Remove uses of the string and types modules:
Show description for 65230a2
doerwalter
committed
65230a2
View commit details
Copy full SHA for 65230a2
View code at this point
Browse repository at this point
Commits on Jun 1, 2002
Replace boolean test with is None
rhettinger
committed
094662a
View commit details
Copy full SHA for 094662a
View code at this point
Browse repository at this point
Commits on May 29, 2002
Patch 560023 adding docstrings. 2.2 Candidate (after verifying modules were not updated after 2.2).
rhettinger
committed
aef22fb
View commit details
Copy full SHA for aef22fb
View code at this point
Browse repository at this point
Commits on Aug 13, 2001
Remove empty __init__ (PyChecker)
akuchling
committed
8ea9227
View commit details
Copy full SHA for 8ea9227
View code at this point
Browse repository at this point
Commits on May 11, 2001
Remove a bare try/except completely -- it just did not make sense!
Show description for 6f6a14f
freddrake
committed
6f6a14f
View commit details
Copy full SHA for 6f6a14f
View code at this point
Browse repository at this point
Commits on Feb 9, 2001
String method conversion.
eric-s-raymond
committed
b08b2d3
View commit details
Copy full SHA for b08b2d3
View code at this point
Browse repository at this point
Commits on Jan 14, 2001
Whitespace normalization.
tim-one
committed
88869f9
View commit details
Copy full SHA for 88869f9
View code at this point
Browse repository at this point
Commits on Feb 4, 2000
Actually, the previous batch's comment should have been different;
Show description for 4b8c6ea
gvanrossum
committed
4b8c6ea
View commit details
Copy full SHA for 4b8c6ea
View code at this point
Browse repository at this point
Commits on Jan 12, 1999
DumbWriter.send_paragraph(): Fix problem with DumbWriter reported to
Show description for f4bb656
freddrake
committed
f4bb656
View commit details
Copy full SHA for f4bb656
View code at this point
Browse repository at this point
Commits on Mar 26, 1998
Mass check-in after untabifying all files that need it.
gvanrossum
committed
45e2fbc
View commit details
Copy full SHA for 45e2fbc
View code at this point
Browse repository at this point
Commits on Oct 22, 1997
Removed unneeded imports of regex and regsub.
gvanrossum
committed
a8832b4
View commit details
Copy full SHA for a8832b4
View code at this point
Browse repository at this point
Commits on Dec 31, 1996
(formatter.py): Add a flush() method to the writer interface. This really
Show description for 2823168
freddrake
committed
2823168
View commit details
Copy full SHA for 2823168
View code at this point
Browse repository at this point
Commits on Oct 8, 1996
(formatter.py): Simplify NullFormatter definition of add_hor_rule() to match
Show description for ca8cdc6
freddrake
committed
ca8cdc6
View commit details
Copy full SHA for ca8cdc6
View code at this point
Browse repository at this point
Commits on Oct 7, 1996
Add provisions to set the (to be documented!) instance variable
Show description for ccd8b19
gvanrossum
committed
ccd8b19
View commit details
Copy full SHA for ccd8b19
View code at this point
Browse repository at this point
Commits on Aug 26, 1996
Three sets of changes from Grail:
Show description for 8e44991
gvanrossum
committed
8e44991
View commit details
Copy full SHA for 8e44991
View code at this point
Browse repository at this point
Commits on May 29, 1996
change DumbWriter to derive from NullWriter
gvanrossum
committed
3672aa2
View commit details
Copy full SHA for 3672aa2
View code at this point
Browse repository at this point
Commits on May 28, 1996
Many improvements dure to Fred Drake
gvanrossum
committed
9787bda
View commit details
Copy full SHA for 9787bda
View code at this point
Browse repository at this point
Commits on Feb 13, 1996
even better way to normalize spaces in add_flowing_data
gvanrossum
committed
7bb7ecd
View commit details
Copy full SHA for 7bb7ecd
View code at this point
Browse repository at this point
Commits on Feb 12, 1996
better way to normalize spaces in add_flowing_data
gvanrossum
committed
93dc801
View commit details
Copy full SHA for 93dc801
View code at this point
Browse repository at this point
Commits on Oct 6, 1995
added NullFormatter
gvanrossum
committed
909507d
View commit details
Copy full SHA for 909507d
View code at this point
Browse repository at this point
Commits on Sep 30, 1995
add flush_softspace() interface
gvanrossum
committed
c7ae920
View commit details
Copy full SHA for c7ae920
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.