-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
gh-138897: Use _pyrepl.pager for _sitebuiltins._Printer
#138898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
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. |
Details
license()prompt is not cleared in new repl #138897