History for Lib/pprint.py - python/cpython · GitHub

github.com

GitHub CopilotWrite better code with AI | MCP RegistryIntegrate external tools | ActionsAutomate any workflow | CodespacesInstant dev environments | IssuesPlan and track work | Code ReviewManage code changes | Code QualityEnforce quality at merge | Why GitHub | Marketplace | View all features | Enterprises | Small and medium teams | Startups | View all use cases | View all industries | View all solutions | AI | Software Development | DevOps | Security | View all topics | Customer stories | Events & webinars | Ebooks & reports | Business insights | Trust center | Partners | View all resources

Tin mới

gh-118761: Improve import time of `pprint` (#122725)

gh-118761: Improve import time of `pprint` (#122725)

[pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (#112963)

[pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (#112963)

gh-92546: Move pprint benchmark into pyperformance (GH-94613)

gh-92546: Move pprint benchmark into pyperformance (GH-94613)

bpo-45557: Fix underscore_numbers in pprint.pprint(). (GH-29129)

bpo-45557: Fix underscore_numbers in pprint.pprint(). (GH-29129)

bpo-41546: make pprint (like print) not write to stdout when it is None (GH-26810)

bpo-41546: make pprint (like print) not write to stdout when it is None (GH-26810)

bpo-43080: pprint for dataclass instances (GH-24389)

bpo-43080: pprint for dataclass instances (GH-24389)

bpo-42914: add a pprint underscore_numbers option (GH-24864)

bpo-42914: add a pprint underscore_numbers option (GH-24864)

bpo-28850: Fix PrettyPrinter.format overrides ignored for contents of small containers (GH-22120)

bpo-28850: Fix PrettyPrinter.format overrides ignored for contents of small containers (GH-22120)

bpo-39994: Fix pprint handling of dict subclasses that override __repr__ (GH-21892)

bpo-39994: Fix pprint handling of dict subclasses that override __repr__ (GH-21892)

bpo-37376: pprint support for SimpleNamespace (GH-14318)

bpo-37376: pprint support for SimpleNamespace (GH-14318)

bpo-30670: Add pp function to the pprint module (GH-11769)

bpo-30670: Add pp function to the pprint module (GH-11769)

bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)

bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)

Issue #26778: Fixed "a/an/and" typos in code comment and documentation.

Issue #26778: Fixed "a/an/and" typos in code comment and documentation.

Issue #18682: Optimized pprint functions for builtin scalar types.

Issue #18682: Optimized pprint functions for builtin scalar types.

Issue #23870: The pprint module now supports all standard collections

Issue #23870: The pprint module now supports all standard collections

Issue #22721: An order of multiline pprint output of set or dict containing

Issue #22721: An order of multiline pprint output of set or dict containing

Issue #23775: pprint() of OrderedDict now outputs the same representation

Issue #23775: pprint() of OrderedDict now outputs the same representation

Issue #23776: Removed asserts from pprint.PrettyPrinter constructor.

Issue #23776: Removed asserts from pprint.PrettyPrinter constructor.

Issue #23502: The pprint module now supports mapping proxies.

Issue #23502: The pprint module now supports mapping proxies.

Issue #17530: pprint now wraps long bytes objects and bytearrays.

Issue #17530: pprint now wraps long bytes objects and bytearrays.

Issue #23741: Slightly refactor the pprint module to make it a little more

Issue #23741: Slightly refactor the pprint module to make it a little more

Issue #19105: pprint now more efficiently uses free space at the right.

Issue #19105: pprint now more efficiently uses free space at the right.

Issue #19104: pprint now produces evaluable output for wrapped strings.

Issue #19104: pprint now produces evaluable output for wrapped strings.

Remove builtin "caching" in pprint

Remove builtin "caching" in pprint

Use cached builtins.

Issue #19132: The pprint module now supports compact mode.

Issue #19137: The pprint module now correctly formats instances of set and

Issue #19137: The pprint module now correctly formats instances of set and

Issue #17150: pprint now uses line continuations to wrap long string literals.

Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key.

Have pprint() respect the order in an OrderedDict.

Issue 3976: fix pprint for sets, frozensets, and dicts containing unorderable types.

Merged revisions 63119-63128,63130-63131,63133,63135-63144,63146-63148,63151-63152,63155-63165,63167-63176,63181-63186,63188-63189 via svnmerge from

Update pprint() to match the new repr style for frozensets

Merged revisions 60245-60277 via svnmerge from

1 1