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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.2k
Star
74.3k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
pprint.py
on
3.14
User selector
All users
All time
Commit history
Commits on Aug 7, 2024
gh-118761: Improve import time of `pprint` (#122725)
Show description for 42d9bec
hugovk
and
AA-Turner
authored
42d9bec
View commit details
Copy full SHA for 42d9bec
View code at this point
Browse repository at this point
Commits on Dec 13, 2023
[pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (#112963)
Show description for 2a3c37c
KrySeyt
and
Eclips4
authored
2a3c37c
View commit details
Copy full SHA for 2a3c37c
View code at this point
Browse repository at this point
Commits on Jul 25, 2022
gh-92546: Move pprint benchmark into pyperformance (GH-94613)
Show description for c514094
arhadthedev
authored
c514094
View commit details
Copy full SHA for c514094
View code at this point
Browse repository at this point
Commits on Oct 21, 2021
bpo-45557: Fix underscore_numbers in pprint.pprint(). (GH-29129)
ericvsmith
authored
087f089
View commit details
Copy full SHA for 087f089
View code at this point
Browse repository at this point
Commits on Jul 19, 2021
bpo-41546: make pprint (like print) not write to stdout when it is None (GH-26810)
iritkatriel
authored
aab1899
View commit details
Copy full SHA for aab1899
View code at this point
Browse repository at this point
Commits on Apr 13, 2021
bpo-43080: pprint for dataclass instances (GH-24389)
Show description for 11159d2
LewisGaul
authored
11159d2
View commit details
Copy full SHA for 11159d2
View code at this point
Browse repository at this point
Commits on Mar 24, 2021
bpo-42914: add a pprint underscore_numbers option (GH-24864)
Show description for 3ba3d51
sblondon
authored
3ba3d51
View commit details
Copy full SHA for 3ba3d51
View code at this point
Browse repository at this point
Commits on Nov 23, 2020
bpo-28850: Fix PrettyPrinter.format overrides ignored for contents of small containers (GH-22120)
iritkatriel
authored
ff420f0
View commit details
Copy full SHA for ff420f0
View code at this point
Browse repository at this point
Commits on Aug 30, 2020
bpo-39994: Fix pprint handling of dict subclasses that override __repr__ (GH-21892)
Show description for 582f137
iritkatriel
authored
582f137
View commit details
Copy full SHA for 582f137
View code at this point
Browse repository at this point
Commits on Jun 26, 2019
bpo-37376: pprint support for SimpleNamespace (GH-14318)
Show description for 06a8916
carlbordum
authored and
miss-islington
committed
06a8916
View commit details
Copy full SHA for 06a8916
View code at this point
Browse repository at this point
Commits on Mar 22, 2019
bpo-30670: Add pp function to the pprint module (GH-11769)
Rémi Lapeyre
authored and
rhettinger
committed
96831c7
View commit details
Copy full SHA for 96831c7
View code at this point
Browse repository at this point
Commits on Dec 17, 2018
bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)
Show description for 8db5b54
vstinner
authored
8db5b54
View commit details
Copy full SHA for 8db5b54
View code at this point
Browse repository at this point
Commits on Apr 17, 2016
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
serhiy-storchaka
committed
6a7b3a7
View commit details
Copy full SHA for 6a7b3a7
View code at this point
Browse repository at this point
Commits on May 16, 2015
Issue #18682: Optimized pprint functions for builtin scalar types.
serhiy-storchaka
committed
8eb1f07
View commit details
Copy full SHA for 8eb1f07
View code at this point
Browse repository at this point
Commits on May 12, 2015
Issue #23870: The pprint module now supports all standard collections
Show description for bedbf96
serhiy-storchaka
committed
bedbf96
View commit details
Copy full SHA for bedbf96
View code at this point
Browse repository at this point
Commits on Apr 6, 2015
Issue #22721: An order of multiline pprint output of set or dict containing
Show description for 62aa7dc
serhiy-storchaka
committed
62aa7dc
View commit details
Copy full SHA for 62aa7dc
View code at this point
Browse repository at this point
Commits on Mar 26, 2015
Issue #23775: pprint() of OrderedDict now outputs the same representation
Show description for aa4c36f
serhiy-storchaka
committed
aa4c36f
View commit details
Copy full SHA for aa4c36f
View code at this point
Browse repository at this point
Issue #23776: Removed asserts from pprint.PrettyPrinter constructor.
serhiy-storchaka
committed
f3fa308
View commit details
Copy full SHA for f3fa308
View code at this point
Browse repository at this point
Commits on Mar 24, 2015
Issue #23502: The pprint module now supports mapping proxies.
Show description for 87eb482
serhiy-storchaka
committed
87eb482
View commit details
Copy full SHA for 87eb482
View code at this point
Browse repository at this point
Issue #17530: pprint now wraps long bytes objects and bytearrays.
serhiy-storchaka
committed
022f203
View commit details
Copy full SHA for 022f203
View code at this point
Browse repository at this point
Issue #23741: Slightly refactor the pprint module to make it a little more
Show description for 8e2aa88
serhiy-storchaka
committed
8e2aa88
View commit details
Copy full SHA for 8e2aa88
View code at this point
Browse repository at this point
Commits on Feb 14, 2015
Issue #19105: pprint now more efficiently uses free space at the right.
serhiy-storchaka
committed
a750ce3
View commit details
Copy full SHA for a750ce3
View code at this point
Browse repository at this point
Commits on Dec 20, 2014
Issue #19104: pprint now produces evaluable output for wrapped strings.
serhiy-storchaka
committed
fe3dc37
View commit details
Copy full SHA for fe3dc37
View code at this point
Browse repository at this point
Commits on Oct 3, 2013
Remove builtin "caching" in pprint
pitrou
committed
7d36e2f
View commit details
Copy full SHA for 7d36e2f
View code at this point
Browse repository at this point
Commits on Oct 2, 2013
Use cached builtins.
serhiy-storchaka
committed
57d5c08
View commit details
Copy full SHA for 57d5c08
View code at this point
Browse repository at this point
Issue #19132: The pprint module now supports compact mode.
serhiy-storchaka
committed
7c411a4
View commit details
Copy full SHA for 7c411a4
View code at this point
Browse repository at this point
Issue #19137: The pprint module now correctly formats instances of set and
Show description for 092bd38
serhiy-storchaka
committed
092bd38
View commit details
Copy full SHA for 092bd38
View code at this point
Browse repository at this point
Issue #19137: The pprint module now correctly formats instances of set and
Show description for 5184438
serhiy-storchaka
committed
5184438
View commit details
Copy full SHA for 5184438
View code at this point
Browse repository at this point
Commits on Mar 23, 2013
Issue #17150: pprint now uses line continuations to wrap long string literals.
pitrou
committed
64c16c3
View commit details
Copy full SHA for 64c16c3
View code at this point
Browse repository at this point
Commits on Jul 21, 2012
Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key.
florentx
committed
d6da90f
View commit details
Copy full SHA for d6da90f
View code at this point
Browse repository at this point
Commits on Sep 9, 2010
Have pprint() respect the order in an OrderedDict.
rhettinger
committed
bad3c88
View commit details
Copy full SHA for bad3c88
View code at this point
Browse repository at this point
Commits on Nov 19, 2009
Issue 3976: fix pprint for sets, frozensets, and dicts containing unorderable types.
rhettinger
committed
a7da166
View commit details
Copy full SHA for a7da166
View code at this point
Browse repository at this point
Commits on May 16, 2008
Merged revisions 63119-63128,63130-63131,63133,63135-63144,63146-63148,63151-63152,63155-63165,63167-63176,63181-63186,63188-63189 via svnmerge from
Show description for eca20b6
avassalotti
committed
eca20b6
View commit details
Copy full SHA for eca20b6
View code at this point
Browse repository at this point
Commits on Jan 31, 2008
Update pprint() to match the new repr style for frozensets
rhettinger
committed
4b8db41
View commit details
Copy full SHA for 4b8db41
View code at this point
Browse repository at this point
Commits on Jan 25, 2008
Merged revisions 60245-60277 via svnmerge from
Show description for 969fe57
tiran
committed
969fe57
View commit details
Copy full SHA for 969fe57
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.