Title: [3.9] bpo-13501: allow choosing between readline and libedit by tnir · Pull Request #25420 · python/cpython · GitHub
Open Graph Title: [3.9] bpo-13501: allow choosing between readline and libedit by tnir · Pull Request #25420 · python/cpython
X Title: [3.9] bpo-13501: allow choosing between readline and libedit by tnir · Pull Request #25420 · python/cpython
Description: Backport GH-24189 (bpo-13501) for Python 3.9. In contrast to macOS, libedit is available as its own include file and library on Linux systems to prevent file name clashes. So if both libraries are available on the system, readline is currently chosen by default; and if only libedit is available, it is not found at all. This patch adds a way to link against libedit by adding the following arguments to configure: --with-readline link against libreadline (the default) --with-readline=editline link against libeditline --with-readline=no disable building the readline module --without-readline (same) The runtime detection of libedit vs. readline was already done in commit 7105319 (2019-12-04, serge-sans-paille: "bpo-38634: Allow non-apple build to cope with libedit (GH-16986)"). Fixes: GH-12076 ("bpo-13501 Build or disable readline with Editline") Fixes: bpo-13501 ("Make libedit support more generic; port readline / libedit to FreeBSD") Co-authored-by: Enji Cooper (ngie-eign) Co-authored-by: Martin Panter (vadmium) Co-authored-by: Robert Marshall (kellinm) https://bugs.python.org/issue13501
Open Graph Description: Backport GH-24189 (bpo-13501) for Python 3.9. In contrast to macOS, libedit is available as its own include file and library on Linux systems to prevent file name clashes. So if both libraries are...
X Description: Backport GH-24189 (bpo-13501) for Python 3.9. In contrast to macOS, libedit is available as its own include file and library on Linux systems to prevent file name clashes. So if both libraries are...
Opengraph URL: https://github.com/python/cpython/pull/25420
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ea38a624-90b4-7af3-0688-e7917ff3d39b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E230:3C7A3:327E84E:4726169:6A4F84CE |
| html-safe-nonce | a578d5fe4f3180cd6764541df3ca2fabbf92cb0ea0f95051a10fd100c97bb368 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjMwOjNDN0EzOjMyN0U4NEU6NDcyNjE2OTo2QTRGODRDRSIsInZpc2l0b3JfaWQiOiI5NDIzMzM2MjM3NDI5Njc4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fd9986c5a66e84ca1c8170500dc9c161b892acfdbf61c22af54cf11d80859215 |
| hovercard-subject-tag | pull_request:615764764 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/25420/files |
| twitter:image | https://avatars.githubusercontent.com/u/10229505?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/10229505?s=400&v=4 |
| og:image:alt | Backport GH-24189 (bpo-13501) for Python 3.9. In contrast to macOS, libedit is available as its own include file and library on Linux systems to prevent file name clashes. So if both libraries are... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width