File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ Core and Builtins
3838Library
3939-------
4040
41+ - Issue #20374: Fix build with GNU readline >= 6.3.
42+
4143- Issue #14548: Make multiprocessing finalizers check pid before
4244 running to cope with possibility of gc running just after fork.
4345 (Backport from 3.x.)
Original file line number Diff line number Diff line change @@ -911,12 +911,12 @@ setup_readline(void)
911911 rl_bind_key_in_map ('\t' , rl_complete , emacs_meta_keymap );
912912 rl_bind_key_in_map ('\033' , rl_complete , emacs_meta_keymap );
913913 /* Set our hook functions */
914- rl_startup_hook = (Function * )on_startup_hook ;
914+ rl_startup_hook = (rl_hook_func_t * )on_startup_hook ;
915915#ifdef HAVE_RL_PRE_INPUT_HOOK
916- rl_pre_input_hook = (Function * )on_pre_input_hook ;
916+ rl_pre_input_hook = (rl_hook_func_t * )on_pre_input_hook ;
917917#endif
918918 /* Set our completion function */
919- rl_attempted_completion_function = (CPPFunction * )flex_complete ;
919+ rl_attempted_completion_function = (rl_completion_func_t * )flex_complete ;
920920 /* Set Python word break characters */
921921 completer_word_break_characters =
922922 rl_completer_word_break_characters =
You can’t perform that action at this time.
0 commit comments