1. 30 Oct, 2001 10 commits
  2. 29 Oct, 2001 24 commits
  3. 28 Oct, 2001 3 commits
  4. 27 Oct, 2001 3 commits
    • Guido van Rossum's avatar
      86443216
    • Guido van Rossum's avatar
      Made SocketType and socket the same thing: a subclassable type whose · 384ca9c6
      Guido van Rossum authored
      constructor acts just like socket() before.  All three arguments have
      a sensible default now; socket() is equivalent to
      socket(AF_INET, SOCK_STREAM).
      
      One minor issue: the socket() function and the SocketType had
      different doc strings; socket.__doc__ gave the signature,
      SocketType.__doc__ gave the methods.  I've merged these for now, but
      maybe the list of methods is no longer necessary since it can easily
      be recovered through socket.__dict__.keys().  The problem with keeping
      it is that the total doc string is a bit long (34 lines -- it scrolls
      of a standard tty screen).
      
      Another general issue with the socket module is that it's a big mess.
      There's pages and pages of random platform #ifdefs, and the naming
      conventions are totally wrong: it uses Py prefixes and CapWords for
      static functions.  That's a cleanup for another day...  (Also I think
      the big starting comment that summarizes the API can go -- it's a
      repeat of the docstring.)
      384ca9c6
    • Guido van Rossum's avatar
      SF patch #475657 (Dietmar Schwertberger) · bd67d6f3
      Guido van Rossum authored
      RISCOS/Makefile:
      include structseq and weakrefobject;
      changes to keep command line length below 2048
      
      RISCOS/Modules/riscosmodule.c:
      typos from the stat structseq patch
      
      Include/pyport.h:
      don't re-#define __attribute__(__x) on RISC OS as it is already defined in c library
      bd67d6f3