1. 29 Jul, 1999 4 commits
  2. 28 Jul, 1999 3 commits
    • Barry Warsaw's avatar
      A few minor Customize changes: · 5ed843fc
      Barry Warsaw authored
      (python): Set defgroup :prefix to "py-" to make variable names cleaner.
      
      (py-jpython-command, py-jpython-command-args): Set :tag for proper
      capitalization of JPython in variable name display.
      5ed843fc
    • Barry Warsaw's avatar
      (python-mode): Set which interpreter (CPython or JPython) to use the · 11f21560
      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.
      11f21560
    • Guido van Rossum's avatar
      Another patch from Andy Dustman: · 2ab455a8
      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.)
      2ab455a8
  3. 27 Jul, 1999 4 commits
  4. 26 Jul, 1999 1 commit
  5. 23 Jul, 1999 3 commits
  6. 22 Jul, 1999 3 commits
  7. 20 Jul, 1999 1 commit
  8. 19 Jul, 1999 1 commit
  9. 15 Jul, 1999 1 commit
  10. 13 Jul, 1999 3 commits
    • Guido van Rossum's avatar
      ba508a21
    • Guido van Rossum's avatar
      Patch by Stephen Turner, who writes: · 2f80d96c
      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.
      2f80d96c
    • Guido van Rossum's avatar
      Mark Favas was quick to note that the last checkin divides by zero · 0eb55ac9
      Guido van Rossum authored
      when n == 0...  So divide by a->ob_size instead which was already
      tested for 0.
      0eb55ac9
  11. 12 Jul, 1999 8 commits
  12. 10 Jul, 1999 5 commits
  13. 09 Jul, 1999 1 commit
  14. 08 Jul, 1999 1 commit
  15. 07 Jul, 1999 1 commit