Staging
v0.5.1
https://github.com/python/cpython
Revision 7105319ada2e663659020cbe9fdf7ff38f421ab2 authored by serge-sans-paille on 04 December 2019, 16:02:57 UTC, committed by Victor Stinner on 04 December 2019, 16:02:57 UTC
The readline module now detects if Python is linked to libedit at runtime
on all platforms.  Previously, the check was only done on macOS.

If Python is used as a library by a binary linking to libedit, the linker
resolves the rl_initialize symbol required by the readline module against
libedit instead of libreadline, which leads to a segfault.

Take advantage of the existing supporting code to have readline module being
compatible with both situations.
1 parent ac0e1c2
History
Tip revision: 7105319ada2e663659020cbe9fdf7ff38f421ab2 authored by serge-sans-paille on 04 December 2019, 16:02:57 UTC
bpo-38634: Allow non-apple build to cope with libedit (GH-16986)
Tip revision: 7105319
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.1 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 66.2 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 492.2 KB
configure.ac -rw-r--r-- 162.7 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.0 KB
setup.py -rw-r--r-- 101.7 KB

README.rst

back to top