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.
This PR also contains typing fixes as well as asyncio-related improvements (in separate commits).
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.This PR also contains typing fixes as well as asyncio-related improvements (in separate commits).