Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support the "pager" binary in _pyrepl#122878

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 4 commits intopython:mainfromstefanor:pyrepl-pager
Sep 19, 2024
Merged

Conversation

@stefanor
Copy link
Contributor

Debian (and derivatives) provide a /usr/bin/pager binary, managed by the alternatives system, that always points to an available pager utility. Allow _pyrepl to use it, to follow system policy

This is a very trivial change, from a patch that Debian has been carrying since 2.7 era. Seems appropriate to upstream.https://bugs.debian.org/799555

andrewshadura reacted with thumbs up emoji
Debian (and derivatives) provide a /usr/bin/pager binary, managed by thealternatives system, that always points to an available pager utility.Allow _pyrepl to use it, to follow system policyThis is a very trivial change, from a patch that Debian has beencarrying since 2.7 era. Seems appropriate to upstream.https://bugs.debian.org/799555
Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM. IMO it's reasonable to trypager beforeless. On Fedora, there is nopager command, it will silently be ignored as expected which is fine.

@skirpichev
Copy link
Contributor

It's user-visible change, I think it worth a changelog entry.

@vstinner
Copy link
Member

@stefanor: Seehttps://devguide.python.org/ for how to add a Changelog (NEWS) entry.

@stefanor
Copy link
ContributorAuthor

Added a NEWS entry.

…e-122878.4iFpsB.rstCo-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
@vstinnervstinnerenabled auto-merge (squash)September 19, 2024 12:51
@vstinnervstinner added the needs backport to 3.13bugs and security fixes labelSep 19, 2024
@vstinnervstinner merged commit426569e intopython:mainSep 19, 2024
@miss-islington-app
Copy link

Thanks@stefanor for the PR, and@vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestSep 19, 2024
Debian (and derivatives) provide a /usr/bin/pager binary, managed by thealternatives system, that always points to an available pager utility.Allow _pyrepl to use it, to follow system policy.This is a very trivial change, from a patch that Debian has beencarrying since 2.7 era. Seems appropriate to upstream.https://bugs.debian.org/799555(cherry picked from commit426569e)Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
@bedevere-app
Copy link

GH-124242 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelSep 19, 2024
@stefanorstefanor deleted the pyrepl-pager branchSeptember 19, 2024 13:21
@vstinner
Copy link
Member

Merged, thanks@stefanor.

savannahostrowski pushed a commit to savannahostrowski/cpython that referenced this pull requestSep 22, 2024
Debian (and derivatives) provide a /usr/bin/pager binary, managed by thealternatives system, that always points to an available pager utility.Allow _pyrepl to use it, to follow system policy.This is a very trivial change, from a patch that Debian has beencarrying since 2.7 era. Seems appropriate to upstream.https://bugs.debian.org/799555
vstinner pushed a commit that referenced this pull requestOct 7, 2024
Support the "pager" binary in _pyrepl (GH-122878)Debian (and derivatives) provide a /usr/bin/pager binary, managed by thealternatives system, that always points to an available pager utility.Allow _pyrepl to use it, to follow system policy.This is a very trivial change, from a patch that Debian has beencarrying since 2.7 era. Seems appropriate to upstream.https://bugs.debian.org/799555(cherry picked from commit426569e)Co-authored-by: Stefano Rivera <stefano@rivera.za.net>Co-authored-by: T. Wouters <thomas@python.org>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@vstinnervstinnervstinner approved these changes

@skirpichevskirpichevskirpichev approved these changes

@pablogsalpablogsalAwaiting requested review from pablogsalpablogsal is a code owner

@lysnikolaoulysnikolaouAwaiting requested review from lysnikolaoulysnikolaou is a code owner

@ambvambvAwaiting requested review from ambvambv is a code owner

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@stefanor@skirpichev@vstinner

[8]ページ先頭

©2009-2025 Movatter.jp