Skip to content

Commit c2e4e29

Browse files
committed
Disable rl_change_environment on apple
1 parent bc76d98 commit c2e4e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/readline.c

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

1326-
#ifndef WITH_EDITLINE
1326+
#if !defined(__APPLE__)
13271327
/* Prevent readline from changing environment variables such as LINES and
13281328
* COLUMNS.
13291329
*/

0 commit comments

Comments
 (0)