diff options
author | Joshua Root <jmr@macports.org> | 2024-04-17 09:26:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-17 09:26:10 (GMT) |
commit | 8515fd79fef1ac16d7848cec5ec1797294cb5366 (patch) | |
tree | 28cc3745dea1506bd2bb463bf21777ef46c67640 /Python/Python-ast.c | |
parent | f74e51229c83e3265f905dc15283bfe0ec1a659e (diff) | |
download | cpython-8515fd79fef1ac16d7848cec5ec1797294cb5366.zip cpython-8515fd79fef1ac16d7848cec5ec1797294cb5366.tar.gz cpython-8515fd79fef1ac16d7848cec5ec1797294cb5366.tar.bz2 |
gh-117845: Detect libedit hook function signature in configure (#117870)
Older libedit versions (like Apple's) use a different type signature
for rl_startup_hook and rl_pre_input_hook. Add a configure check to
determine which signature is accepted by introducing the
Py_RL_STARTUP_HOOK_TAKES_ARGS macro in pyconfig.h.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions