gh-138897: Use _pyrepl.pager for _sitebuiltins._Printer#138898
gh-138897: Use _pyrepl.pager for _sitebuiltins._Printer#138898ambv merged 6 commits intopython:mainfrom
_pyrepl.pager for _sitebuiltins._Printer#138898Conversation
|
Great idea, love it. In fact, you can use the pager always since it's deliberately a rather independent part of PyREPL. |
Would it be possible to isolate it outside |
Yes, I moved it out of pydoc mostly to be able to type-annotate it, change the API a bit, and make it fully independent of pydoc. I didn't want to make up a top-level module name at the time, but if it makes sense, we can do that. |
|
Thanks! |
Misc/NEWS.d/next/Library/2025-09-14-22-26-50.gh-issue-138897.vnUb_L.rst
Outdated
Show resolved
Hide resolved
|
Friendly ping @ambv :-) |
|
Thanks @StanFromIreland for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…thonGH-138898) (cherry picked from commit 0417dab) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
|
GH-143364 is a backport of this pull request to the 3.14 branch. |
…thonGH-138898) (cherry picked from commit 0417dab) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
|
GH-143365 is a backport of this pull request to the 3.13 branch. |
…thonGH-138898) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Details
license()prompt is not cleared in new repl #138897