Eryk Sun added the comment:

PyOS_Readline uses a null-terminated prompt string. So input() needs to raise a 
ValueError if the prompt contains null characters, e.g. if PyBytes_GET_SIZE(po) 
!= strlen(promptstr).

----------
nosy: +eryksun

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30431>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to