1. 26 Haz, 2000 1 kayıt (commit)
  2. 23 Haz, 2000 2 kayıt (commit)
    • Jeremy Hylton's avatar
      part 2 of Neil Schemenauer's GC patches: · d08b4c45
      Jeremy Hylton yazdı
      This patch modifies the type structures of objects that
      participate in GC.  The object's tp_basicsize is increased when
      GC is enabled.  GC information is prefixed to the object to
      maintain binary compatibility.  GC objects also define the
      tp_flag Py_TPFLAGS_GC.
      d08b4c45
    • Jeremy Hylton's avatar
      Round 1 of Neil Schemenauer's GC patches: · 8caad49c
      Jeremy Hylton yazdı
      This patch adds the type methods traverse and clear necessary for GC
      implementation.
      8caad49c
  3. 20 Haz, 2000 1 kayıt (commit)
  4. 18 Haz, 2000 2 kayıt (commit)
  5. 28 May, 2000 1 kayıt (commit)
  6. 25 May, 2000 1 kayıt (commit)
  7. 12 May, 2000 1 kayıt (commit)
  8. 11 May, 2000 1 kayıt (commit)
  9. 09 May, 2000 2 kayıt (commit)
  10. 08 May, 2000 2 kayıt (commit)
  11. 05 May, 2000 1 kayıt (commit)
  12. 03 May, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Vladimir Marangozov's long-awaited malloc restructuring. · b18618da
      Guido van Rossum yazdı
      For more comments, read the patches@python.org archives.
      For documentation read the comments in mymalloc.h and objimpl.h.
      
      (This is not exactly what Vladimir posted to the patches list; I've
      made a few changes, and Vladimir sent me a fix in private email for a
      problem that only occurs in debug mode.  I'm also holding back on his
      change to main.c, which seems unnecessary to me.)
      b18618da
  13. 02 May, 2000 1 kayıt (commit)
  14. 01 May, 2000 1 kayıt (commit)
  15. 24 Nis, 2000 2 kayıt (commit)
    • Guido van Rossum's avatar
      Christian Tismer -- total rewrite on trashcan code. · e92e610a
      Guido van Rossum yazdı
      Improvements:
      - does no longer need any extra memory
      - has no relationship to tstate
      - works in debug mode
      - can easily be modified for free threading (hi Greg:)
      
      Side effects:
      Trashcan does change the order of object destruction.
      Prevending that would be quite an immense effort, as
      my attempts have shown. This version works always
      the same, with debug mode or not. The slightly
      changed destruction order should therefore be no problem.
      
      Algorithm:
      While the old idea of delaying the destruction of some
      obejcts at a certain recursion level was kept, we now
      no longer aloocate an object to hold these objects.
      The delayed objects are instead chained together
      via their ob_type field. The type is encoded via
      ob_refcnt. When it comes to the destruction of the
      chain of waiting objects, the topmost object is popped
      off the chain and revived with type and refcount 1,
      then it gets a normal Py_DECREF.
      
      I am confident that this solution is near optimum
      for minimizing side effects and code bloat.
      e92e610a
    • Guido van Rossum's avatar
      Jack Jansen: The GUSI 2.0 I/O library (which is used on the Mac) · ddc3b63b
      Guido van Rossum yazdı
      doesn't use the special header file for select anymore.
      ddc3b63b
  16. 14 Nis, 2000 1 kayıt (commit)
  17. 11 Nis, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Marc-Andre Lemburg: · 004d64f3
      Guido van Rossum yazdı
      Changed PyUnicode_Splitlines() maxsplit argument to keepends.
      The maxsplit functionality was replaced by the keepends
      functionality which allows keeping the line end markers together
      with the string.
      004d64f3
  18. 10 Nis, 2000 1 kayıt (commit)
  19. 06 Nis, 2000 1 kayıt (commit)
  20. 05 Nis, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Marc-Andre's third try at this bulk patch seems to work (except that · 9e896b37
      Guido van Rossum yazdı
      his copy of test_contains.py seems to be broken -- the lines he
      deleted were already absent).  Checkin messages:
      
      
      New Unicode support for int(), float(), complex() and long().
      
      - new APIs PyInt_FromUnicode() and PyLong_FromUnicode()
      - added support for Unicode to PyFloat_FromString()
      - new encoding API PyUnicode_EncodeDecimal() which converts
        Unicode to a decimal char* string (used in the above new
        APIs)
      - shortcuts for calls like int(<int object>) and float(<float obj>)
      - tests for all of the above
      
      Unicode compares and contains checks:
      - comparing Unicode and non-string types now works; TypeErrors
        are masked, all other errors such as ValueError during
        Unicode coercion are passed through (note that PyUnicode_Compare
        does not implement the masking -- PyObject_Compare does this)
      - contains now works for non-string types too; TypeErrors are
        masked and 0 returned; all other errors are passed through
      
      Better testing support for the standard codecs.
      
      Misc minor enhancements, such as an alias dbcs for the mbcs codec.
      
      Changes:
      - PyLong_FromString() now applies the same error checks as
        does PyInt_FromString(): trailing garbage is reported
        as error and not longer silently ignored. The only characters
        which may be trailing the digits are 'L' and 'l' -- these
        are still silently ignored.
      - string.ato?() now directly interface to int(), long() and
        float(). The error strings are now a little different, but
        the type still remains the same. These functions are now
        ready to get declared obsolete ;-)
      - PyNumber_Int() now also does a check for embedded NULL chars
        in the input string; PyNumber_Long() already did this (and
        still does)
      
      Followed by:
      
      Looks like I've gone a step too far there... (and test_contains.py
      seem to have a bug too).
      
      I've changed back to reporting all errors in PyUnicode_Contains()
      and added a few more test cases to test_contains.py (plus corrected
      the join() NameError).
      9e896b37
  21. 30 Mar, 2000 2 kayıt (commit)
  22. 29 Mar, 2000 2 kayıt (commit)
  23. 28 Mar, 2000 3 kayıt (commit)
    • Jeremy Hylton's avatar
      slightly modified version of Greg Ewing's extended call syntax patch · 7690151c
      Jeremy Hylton yazdı
      executive summary:
      Instead of typing 'apply(f, args, kwargs)' you can type 'f(*arg, **kwargs)'.
      Some file-by-file details follow.
      
      Grammar/Grammar:
          simplify varargslist, replacing '*' '*' with '**'
          add * & ** options to arglist
      
      Include/opcode.h & Lib/dis.py:
          define three new opcodes
              CALL_FUNCTION_VAR
              CALL_FUNCTION_KW
              CALL_FUNCTION_VAR_KW
      
      Python/ceval.c:
          extend TypeError "keyword parameter redefined" message to include
              the name of the offending keyword
          reindent CALL_FUNCTION using four spaces
          add handling of sequences and dictionaries using extend calls
          fix function import_from to use PyErr_Format
      7690151c
    • Guido van Rossum's avatar
      Marc-Andre Lemburg: · 24bdb047
      Guido van Rossum yazdı
      The attached patch set includes a workaround to get Python with
      Unicode compile on BSDI 4.x (courtesy Thomas Wouters; the cause
      is a bug in the BSDI wchar.h header file) and Python interfaces
      for the MBCS codec donated by Mark Hammond.
      
      Also included are some minor corrections w/r to the docs of
      the new "es" and "es#" parser markers (use PyMem_Free() instead
      of free(); thanks to Mark Hammond for finding these).
      
      The unicodedata tests are now in a separate file
      (test_unicodedata.py) to avoid problems if the module cannot
      be found.
      24bdb047
    • Guido van Rossum's avatar
      efec1158
  24. 21 Mar, 2000 1 kayıt (commit)
    • Fred Drake's avatar
      Updated comment: in PyTypeObject: · 0e12bcd2
      Fred Drake yazdı
      	/* More standard operations (at end for binary compatibility) */
      
      should now be:
      
      	/* More standard operations (here for binary compatibility) */
      
      since they're no longer at the end!
      0e12bcd2
  25. 20 Mar, 2000 1 kayıt (commit)
    • Barry Warsaw's avatar
      On 17-Mar-2000, Marc-Andre Lemburg said: · 51ac5803
      Barry Warsaw yazdı
          Attached you find an update of the Unicode implementation.
      
          The patch is against the current CVS version. I would appreciate
          if someone with CVS checkin permissions could check the changes
          in.
      
          The patch contains all bugs and patches sent this week and also
          fixes a leak in the codecs code and a bug in the free list code
          for Unicode objects (which only shows up when compiling Python
          with Py_DEBUG; thanks to MarkH for spotting this one).
      51ac5803
  26. 13 Mar, 2000 2 kayıt (commit)
  27. 10 Mar, 2000 4 kayıt (commit)