1. 15 Jun, 1998 2 commits
    • Guido van Rossum's avatar
      sort the urls in the todo list · 6eb9d32c
      Guido van Rossum authored
      6eb9d32c
    • Guido van Rossum's avatar
      # (My first checkin from Windows NT using remote CVS!) · 62320c9b
      Guido van Rossum authored
      There were some serious problem with the thread-safety code.
      The basic problem was that often the result was gotten out of
      the Tcl interpreter object after releasing the Tcl lock.
      Of course, another thread might have changed the return value
      already, and this was indeed happening.  (Amazing what trying
      it on a different thread implementation does!)
      
      The solution is to grab the Python lock without releasing the
      Tcl lock, so it's safe to create a string object or set the
      exceptions from the Tcl interpreter.  Once that's done, the
      Tcl lock is released.
      
      Note that it's now legal to acquire the Python lock while the
      the Tcl lock is held; but the reverse is not true: the Python
      lock must be released before the Tcl lock is acquired.  This
      in order to avoid deadlines.  Fortunately, there don't seem to
      be any problems with this.
      62320c9b
  2. 13 Jun, 1998 1 commit
    • Guido van Rossum's avatar
      Fixed the EventHook() code so that it also works on Windows, sort of. · ad4db175
      Guido van Rossum authored
      (The "sort of" is because it uses kbhit() to detect that the user
      starts typing, and then no events are processed until they hit
      return.)
      
      Also fixed a nasty locking bug: EventHook() is called without the Tcl
      lock set, so it can't use the ENTER_PYTHON and LEAVE_PYTHON macros,
      which manipulate both the Python and the Tcl lock.  I now only acquire
      and release the Python lock.
      
      (Haven't tested this on Unix yet...)
      ad4db175
  3. 12 Jun, 1998 8 commits
  4. 11 Jun, 1998 8 commits
  5. 10 Jun, 1998 3 commits
  6. 09 Jun, 1998 13 commits
  7. 08 Jun, 1998 2 commits
  8. 29 May, 1998 3 commits