1. 28 Jul, 1999 2 commits
    • Barry Warsaw's avatar
      (python-mode): Set which interpreter (CPython or JPython) to use the · 4ff79b15
      Barry Warsaw authored
      first time a py buffer is visited during the Emacs session.  This
      ensures that py-which-shells is initialized and also guarantees that
      the mode lines reflect the correct shell.  First bug found by GvR,
      second one has long bugged :) me.
      
      (py-toggle-shells): Programmatically, arg can also take the symbols
      `cpython' or `jpython', which makes it easy to call with the value of
      py-default-interpreter.
      
      (py-shell): Don't need to initialize py-which-* variables since these
      will guarantee to be initialized by python-mode when the first py
      buffer is visited.
      
      (py-default-interpreter): Update docstring.
      4ff79b15
    • Guido van Rossum's avatar
      Another patch from Andy Dustman: · 1a0d0f66
      Guido van Rossum authored
      """
      Here's a patch for the ForkingMixIn which will prevent the server from
      forking itself into the ground. Note: I've tested a very similar patch
      (subclassed ForkingMixIn) but not actually tested this one. As you might
      surmise, this was done out of necessity...
      
      If the maximum number of children are already running, block while waiting
      for a child to exit.
      """
      
      (I added that last sentence as a comment to the code --GvR.)
      1a0d0f66
  2. 27 Jul, 1999 4 commits
  3. 26 Jul, 1999 1 commit
  4. 23 Jul, 1999 3 commits
  5. 22 Jul, 1999 3 commits
  6. 20 Jul, 1999 1 commit
  7. 19 Jul, 1999 1 commit
  8. 15 Jul, 1999 1 commit
  9. 13 Jul, 1999 3 commits
    • Guido van Rossum's avatar
      de564205
    • Guido van Rossum's avatar
      Patch by Stephen Turner, who writes: · 72da7549
      Guido van Rossum authored
      """
      It fixes a memory corruption error resulting from BadPickleGet
      exceptions in load_get, load_binget and load_long_binget.  This was
      initially reported on c.l.py as a problem with Cookie.py; see the thread
      titled "python core dump (SIGBUS) on Solaris" for more details.
      
      If PyDict_GetItem(self->memo, py_key) call failed, then py_key was being
      Py_DECREF'd out of existence before call was made to
      PyErr_SetObject(BadPickleGet, py_key).
      
      The bug can be duplicated as follows:
      
      import cPickle
      cPickle.loads('garyp')
      
      This raises a BadPickleGet exception whose value is a freed object.  A
      core dump will soon follow.
      """
      
      Jim Fulton approves of the patch.
      72da7549
    • Guido van Rossum's avatar
      Mark Favas was quick to note that the last checkin divides by zero · a376adb3
      Guido van Rossum authored
      when n == 0...  So divide by a->ob_size instead which was already
      tested for 0.
      a376adb3
  10. 12 Jul, 1999 8 commits
  11. 10 Jul, 1999 5 commits
  12. 09 Jul, 1999 1 commit
  13. 08 Jul, 1999 1 commit
  14. 07 Jul, 1999 4 commits
  15. 06 Jul, 1999 2 commits