1. 29 Mar, 2015 2 commits
    • R David Murray's avatar
      #23792: Ignore KeyboardInterrupt when the pydoc pager is active. · 1058cda3
      R David Murray authored
      Previously, if you hit ctl-c while the pager was active, the python that
      launched the subprocess for the pager would see the KeyboardInterrupt in the
      __exit__ method of the subprocess context manager where it was waiting for the
      subprocess to complete, ending the wait.  This would leave the pager running,
      while the interactive interpreter, after handling the exception by printing
      it, would go back to trying to post a prompt...but the pager would generally
      have the terminal in raw mode, and in any case would be still trying to read
      from stdin.  On some systems, even exiting python at that point would not
      restore the terminal mode.  The problem with raw mode could also happen if
      ctl-C was hit when pydoc was called from the shell command line and the pager
      was active.
      
      Instead, we now wait on the subprocess in a loop, ignoring KeyboardInterrupt
      just like the pager does, until the pager actually exits.
      
      (Note: this was a regression relative to python2...in python2 the pager
      is called via system, and system does not return until the pager exits.)
      1058cda3
    • Serhiy Storchaka's avatar
      Issue #23803: Fixed str.partition() and str.rpartition() when a separator · 48070c12
      Serhiy Storchaka authored
      is wider then partitioned string.
      48070c12
  2. 28 Mar, 2015 1 commit
  3. 27 Mar, 2015 2 commits
  4. 25 Mar, 2015 4 commits
  5. 24 Mar, 2015 8 commits
  6. 23 Mar, 2015 2 commits
  7. 22 Mar, 2015 7 commits
  8. 21 Mar, 2015 1 commit
  9. 20 Mar, 2015 3 commits
  10. 19 Mar, 2015 6 commits
  11. 18 Mar, 2015 4 commits