1. 30 May, 2002 4 kayıt (commit)
    • Guido van Rossum's avatar
      Holger Krekel. · 5c16468a
      Guido van Rossum yazdı
      5c16468a
    • Guido van Rossum's avatar
      SF #558432: Prevent Annoying ' ' from readline (Holker Krekel). · 84271bb3
      Guido van Rossum yazdı
          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.]
      84271bb3
    • Neal Norwitz's avatar
      efbb67b1
    • Raymond Hettinger's avatar
      Move statement out of comment block · 1dbe6c07
      Raymond Hettinger yazdı
      1dbe6c07
  2. 29 May, 2002 13 kayıt (commit)
  3. 28 May, 2002 4 kayıt (commit)
  4. 27 May, 2002 5 kayıt (commit)
  5. 26 May, 2002 1 kayıt (commit)
  6. 25 May, 2002 1 kayıt (commit)
  7. 24 May, 2002 8 kayıt (commit)
  8. 23 May, 2002 4 kayıt (commit)