Skip to content

Commit cd7a850

Browse files
committed
Disable rl_change_environment on apple
1 parent 23ea56e commit cd7a850

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/readline.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ setup_readline(readlinestate *mod_state)
13491349
/* The name must be defined before initialization */
13501350
rl_readline_name = "python";
13511351

1352-
#ifndef WITH_EDITLINE
1352+
#if !defined(__APPLE__)
13531353
/* Prevent readline from changing environment variables such as LINES and
13541354
* COLUMNS.
13551355
*/

0 commit comments

Comments
 (0)