This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka, twouters
Date 2015-09-21.16:30:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
MemoryError raised in readline.set_completer_delims() turns the readline library to incorrect state.

$ (ulimit -v 200000; ./python;)
Python 3.6.0a0 (default:e33b4c18af59+, Sep 17 2015, 17:05:17) 
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import readline
>>> readline.get_completer_delims()
' \t\n`~!@#$%^&*()-=+[{]}\\|;:\'",<>/?'
>>> readline.set_completer_delims(' '*10**8)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
>>> readline.get_completer_delims()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 1: invalid continuation byte

Proposed patch fixes the issue.
Date User Action Args
2015-09-21 16:30:47serhiy.storchakasetrecipients: + serhiy.storchaka, twouters
2015-09-21 16:30:47serhiy.storchakasetmessageid: <>
2015-09-21 16:30:46serhiy.storchakalinkissue25203 messages
2015-09-21 16:30:46serhiy.storchakacreate