Skip to content

Commit

Permalink
Refactor output printer so that it can render big outputs without mem…
Browse files Browse the repository at this point in the history
…ory issues.

Previously, an expression like `b'\x90' * 40_000_000` would kill ptpython
because it rendered the whole output at once. This implementation streams the
rendering logic while it's paginating.
  • Loading branch information
jonathanslenders committed Dec 12, 2023
1 parent 46b1076 commit 3214a2b
Show file tree
Hide file tree
Showing 3 changed files with 446 additions and 357 deletions.
Loading

0 comments on commit 3214a2b

Please sign in to comment.