1. 10 Tem, 2001 6 kayıt (commit)
    • Fred Drake's avatar
    • Fred Drake's avatar
      Document PyObject_New(), PyObject_NewVar(), PyObject_Init(), · bab2965c
      Fred Drake yazdı
      PyObject_InitVar(), PyObject_Del(), PyObject_NEW(),
      PyObject_NEW_VAR(), and PyObject_DEL().
      
      Add notes to PyMem_Malloc() and PyMem_New() about the memory buffers
      not being initialized.
      
      This fixes SF bug #439012.
      
      
      Added explicit return value information for PyList_SetItem(),
      PyDict_SetItem(), and PyDict_SetItemString().  Corrected return type
      for PyList_SET_ITEM().
      
      Fixed index entries in the descriptions of PyLong_AsLong() and
      PyLong_AsUnignedLong().
      
      This fixes the API manual portion of SF bug #440037.
      
      
      Note that the headers properly declare everything as 'extern "C"' for
      C++ users.
      
      Document _Py_NoneStruct.
      
      Added links to the Extending & Embedding manual for PyArg_ParseTuple()
      and PyArg_ParseTupleAndKeywords().
      
      Added note that PyArg_Parse() should not be used in new code.
      
      Fix up a few style nits -- avoid "e.g." and "i.e." -- these make
      translation more difficult, as well as reading the English more
      difficult for non-native speakers.
      bab2965c
    • Guido van Rossum's avatar
      Ported to Windows: · 05be1a0f
      Guido van Rossum yazdı
      - Set the host to "localhost" instead of "".
      
      - Skip the AF_UNIX tests when socket.AF_UNIX is not defined.
      05be1a0f
    • Fred Drake's avatar
      Added descriptions for some modules that previously did not have any · 12060e5e
      Fred Drake yazdı
      information about them, based on comments from Jack Jansen.
      12060e5e
    • Guido van Rossum's avatar
      A test suite for SocketServer.py that exposes the various bugs just · 39f1b365
      Guido van Rossum yazdı
      fixed.  Regrettably, this must be run manually -- somehow the I/O
      redirection of the regression test breaks the test.  When run under
      the regression test, this raises ImportError with a warning to that
      effect.
      
      Bugfix candidate!
      39f1b365
    • Guido van Rossum's avatar
      IMPORTANT FIX: This should definitely go into the 2.1.1 release!!! · 7de4d645
      Guido van Rossum yazdı
      Fix various serious problems:
      
      - The ThreadingTCPServer class and its derived classes were completely
        broken because the main thread would close the request before the
        handler thread had time to look at it.  This was introduced by
        Ping's close_request() patch.  The fix moves the close_request()
        calls to after the handler has run to completion in the BaseServer
        class and the ForkingMixIn class; when using the ThreadingMixIn,
        closing the request is the handler's responsibility.
      
      - The ForkingUDPServer class has always been been broken because the
        socket was closed in the child before calling the handler.  I fixed
        this by simply not calling server_close() in the child at all.
      
      - I cannot get the UnixDatagramServer class to work at all.  The
        recvfrom() call doesn't return a meaningful client address.  I added
        a comment to this effect.  Maybe it works on other Unix versions.
      
      - The __all__ variable was missing ThreadingMixIn and ForkingMixIn.
      
      - Bumped __version__ to "0.4".
      
      - Added a note about the test suite (to be checked in shortly).
      7de4d645
  2. 09 Tem, 2001 6 kayıt (commit)
  3. 08 Tem, 2001 2 kayıt (commit)
  4. 07 Tem, 2001 1 kayıt (commit)
  5. 06 Tem, 2001 25 kayıt (commit)