Guido van Rossum
84271bb34f
SF #558432 : Prevent Annoying ' ' from readline (Holker Krekel).
...
readline in all python versions is configured
to append a 'space' character for a successful
completion. But for almost all python expressions
'space' is not wanted (see coding conventions PEP 8).
For example if you have a function 'longfunction'
and you type 'longf<TAB>' you get 'longfunction '
as a completion. note the unwanted space at the
end.
The patch fixes this behaviour by setting readline's
append_character to '\0' which means don't append
anything. This doesn't work with readline < 2.1
(AFAIK nowadays readline2.2 is in good use).
An alternative approach would be to make the
append_character
accessable from python so that modules like
the rlcompleter.py can set it to '\0'.
[Ed.: I think expecting readline >= 2.2 is fine. If a completer wants
another character they can append that to the keyword in the list.]
2002-05-30 15:41:56 +00:00
..
2002-05-08 07:16:37 +00:00
2002-01-17 23:15:58 +00:00
2002-03-31 14:55:17 +00:00
2002-01-30 15:39:28 +00:00
2002-05-29 18:19:14 +00:00
2002-05-02 12:16:29 +00:00
2002-03-31 15:46:00 +00:00
2002-04-27 18:44:32 +00:00
2002-04-01 14:28:58 +00:00
2002-03-31 14:44:22 +00:00
2001-10-23 21:12:47 +00:00
2001-12-06 19:04:35 +00:00
2001-12-08 18:02:58 +00:00
2002-05-13 10:14:59 +00:00
2002-01-17 23:15:58 +00:00
2001-12-19 04:41:35 +00:00
2002-04-23 02:11:05 +00:00
2002-04-27 18:44:32 +00:00
2002-04-04 22:55:58 +00:00
2002-04-27 18:44:32 +00:00
2002-04-01 03:45:06 +00:00
2001-08-30 00:12:32 +00:00
2002-05-01 20:36:39 +00:00
2002-03-31 15:27:00 +00:00
2002-04-29 13:54:48 +00:00
2002-03-03 02:59:16 +00:00
2002-03-31 15:43:28 +00:00
2002-01-26 17:58:02 +00:00
2002-03-03 02:59:16 +00:00
2002-03-31 15:56:56 +00:00
2002-03-31 14:57:24 +00:00
2002-02-01 15:46:29 +00:00
2002-01-17 23:15:58 +00:00
2002-05-21 15:53:24 +00:00
2001-12-08 18:02:58 +00:00
2001-12-02 10:15:37 +00:00
2001-12-04 01:11:32 +00:00
2001-12-02 10:15:37 +00:00
2002-01-12 11:05:12 +00:00
2002-03-01 10:38:44 +00:00
2002-04-02 18:26:33 +00:00
2002-03-31 15:43:28 +00:00
2002-04-27 18:44:32 +00:00
2002-03-03 02:59:16 +00:00
2002-03-29 18:00:19 +00:00
2002-05-13 03:56:10 +00:00
2002-05-29 14:00:22 +00:00
2001-09-24 17:14:40 +00:00
2002-03-31 15:27:00 +00:00
2002-03-08 05:43:32 +00:00
2002-04-01 01:37:14 +00:00
2002-01-15 19:21:05 +00:00
2002-03-31 15:27:00 +00:00
2002-04-04 17:52:50 +00:00
2002-05-24 15:47:06 +00:00
2002-01-17 23:15:58 +00:00
2002-05-04 13:13:41 +00:00
2002-01-17 23:15:58 +00:00
2002-04-15 16:29:00 +00:00
2002-03-20 21:32:07 +00:00
2002-04-12 07:22:56 +00:00
2002-05-30 15:41:56 +00:00
2002-04-27 18:44:32 +00:00
2001-07-15 18:38:47 +00:00
2002-04-23 20:15:04 +00:00
2002-03-31 15:27:00 +00:00
2002-03-31 15:27:00 +00:00
2002-04-01 14:53:37 +00:00
2001-08-30 00:13:38 +00:00
2002-04-19 09:47:23 +00:00
2002-04-02 18:26:33 +00:00
2002-04-01 14:30:50 +00:00
2002-05-27 15:08:24 +00:00
2002-04-27 18:44:32 +00:00
2002-03-01 08:31:07 +00:00
2001-07-02 16:58:38 +00:00
2002-03-18 18:46:14 +00:00
2002-04-27 18:44:32 +00:00
2002-04-02 18:17:57 +00:00
2002-03-31 15:27:00 +00:00
2002-01-17 23:15:58 +00:00
2001-12-06 14:34:58 +00:00
2002-04-01 14:53:37 +00:00
2002-03-03 02:59:16 +00:00
2001-06-16 08:10:13 +00:00
2002-04-07 06:32:21 +00:00
2002-04-11 20:46:23 +00:00
2002-03-31 14:57:24 +00:00
2001-12-09 23:15:56 +00:00
2002-04-03 21:39:26 +00:00
2001-12-08 18:02:58 +00:00
2002-05-23 15:49:38 +00:00
2002-03-28 15:49:54 +00:00
2002-04-27 18:44:32 +00:00