]> granicus.if.org Git - python/commit
#9907: call rl_initialize early when using editline on OSX
authorR. David Murray <rdmurray@bitdance.com>
Sat, 18 Dec 2010 03:48:32 +0000 (03:48 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Sat, 18 Dec 2010 03:48:32 +0000 (03:48 +0000)
commit52d1b4e62fd35e19d4f2c231fe48d463cb83d374
tree7878321a91a145667bd978e7576f415dcc8b1f15
parentc539a2a88ef54b4ecb1c3c769f31b6e8da361ad1
#9907: call rl_initialize early when using editline on OSX

editline rl_initialize apparently discards any mappings done before it
is called, which makes tab revert to file completion instead of inserting
a tab.  So now on OSX we call rl_initialize first if we are using
readline, and then re-read the users .editrc (if any) afterward so they
can still override our defaults.

Patch by Ned Deily, modified by Ronald Oussoren.
Misc/NEWS
Modules/readline.c