1. 14 Dec, 2001 6 commits
    • Fred Drake's avatar
      The valign attribute to control the vertical alignment of a table cell should · e84e130b
      Fred Drake authored
      be on the <tr> element, not the <table> element.
      Partially fixes SF bug #493243.
      e84e130b
    • Fred Drake's avatar
      Bump version numbers for the trunk. · 9e128a23
      Fred Drake authored
      9e128a23
    • Fred Drake's avatar
      40fb9bd8
    • Jeremy Hylton's avatar
      Partial fix for problem in SF buf #487458 · d20df2ec
      Jeremy Hylton authored
      Rev 1.20 introduced a call to getpeername() in the dispatcher
      constructor.  This only works for a connected socket.  Apparently
      earlier versions of the code worked with un-connected sockets, e.g. a
      listening socket.
      
      It's not clear that the code is supposed to accept these sockets,
      because it sets self.connected = 1 when passed a socket.  But it's
      also not clear that it should be a fatal error to pass a listening
      socket.
      
      The solution, for now, is to put a try/except around the getpeername()
      call and continue if it fails.  The self.addr attribute is used
      primarily (only?) to produce a nice repr for the object, so it hardly
      matters.  If there is a real error on a connected socket, it's likely
      that subsequent calls will fail too.
      d20df2ec
    • Jack Jansen's avatar
      Add default values for options in the class init routine, not in the... · 0dc7293c
      Jack Jansen authored
      Add default values for options in the class init routine, not in the convenience wrapper function: distutils uses the class directly. Fixes bug #492665.
      0dc7293c
    • Guido van Rossum's avatar
      (Merge into trunk.) · 37d026b9
      Guido van Rossum authored
      Fix for SF bug #492345.  (I could've sworn I checked this in, but
      apparently I didn't!)
      
      This code:
      
          class Classic:
              pass
      
          class New(Classic):
              __metaclass__ = type
      
      attempts to create a new-style class with only classic bases -- but it
      doesn't work right.  Attempts to fix it so it works caused problems
      elsewhere, so I'm now raising a TypeError in this case.
      37d026b9
  2. 13 Dec, 2001 24 commits
  3. 12 Dec, 2001 10 commits