Idan Kamara <idank...@gmail.com> added the comment:

You're right, as this little C program verifies:

#include <stdio.h>
#include <stdlib.h>
#include <readline/readline.h>

int main() {
   printf("foo ");
   char* buf = readline("");
   free(buf);

   return 0;
}

Passing ' ' seems to be a suitable workaround for those who can't pass the text 
directly to raw_input though (such is the case where you have special classes 
who handle output).

----------

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

Reply via email to