An error occurred fetching the project authors.
  1. 30 Aug, 2000 1 commit
  2. 22 Aug, 2000 1 commit
  3. 18 Aug, 2000 1 commit
  4. 16 Aug, 2000 1 commit
  5. 15 Aug, 2000 1 commit
    • Tim Peters's avatar
      Fix for http://sourceforge.net/bugs/?func=detailbug&bug_id=111866&group_id=5470. · 39dce293
      Tim Peters authored
      This was a misleading bug -- the true "bug" was that hash(x) gave an error
      return when x is an infinity.  Fixed that.  Added new Py_IS_INFINITY macro to
      pyport.h.  Rearranged code to reduce growing duplication in hashing of float and
      complex numbers, pushing Trent's earlier stab at that to a logical conclusion.
      Fixed exceedingly rare bug where hashing of floats could return -1 even if there
      wasn't an error (didn't waste time trying to construct a test case, it was simply
      obvious from the code that it *could* happen).  Improved complex hash so that
      hash(complex(x, y)) doesn't systematically equal hash(complex(y, x)) anymore.
      39dce293
  6. 11 Aug, 2000 1 commit
  7. 04 Aug, 2000 1 commit
  8. 31 Jul, 2000 1 commit
  9. 25 Jul, 2000 1 commit
  10. 16 Jul, 2000 1 commit
    • Thomas Wouters's avatar
      Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either · 7e474022
      Thomas Wouters authored
      comments, docstrings or error messages. I fixed two minor things in
      test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't").
      
      There is a minor style issue involved: Guido seems to have preferred English
      grammar (behaviour, honour) in a couple places. This patch changes that to
      American, which is the more prominent style in the source. I prefer English
      myself, so if English is preferred, I'd be happy to supply a patch myself ;)
      7e474022
  11. 12 Jul, 2000 2 commits
  12. 11 Jul, 2000 1 commit
  13. 09 Jul, 2000 2 commits
  14. 08 Jul, 2000 2 commits
  15. 03 Jul, 2000 1 commit
  16. 01 Jul, 2000 2 commits
  17. 30 Jun, 2000 4 commits
    • Guido van Rossum's avatar
      Change copyright notice - 2nd try. · ffcc3813
      Guido van Rossum authored
      ffcc3813
    • Guido van Rossum's avatar
      Change copyright notice. · fd71b9e9
      Guido van Rossum authored
      fd71b9e9
    • Fred Drake's avatar
      Trent Mick <trentm@activestate.com>: · a44d353e
      Fred Drake authored
      The common technique for printing out a pointer has been to cast to a long
      and use the "%lx" printf modifier. This is incorrect on Win64 where casting
      to a long truncates the pointer. The "%p" formatter should be used instead.
      
      The problem as stated by Tim:
      > Unfortunately, the C committee refused to define what %p conversion "looks
      > like" -- they explicitly allowed it to be implementation-defined. Older
      > versions of Microsoft C even stuck a colon in the middle of the address (in
      > the days of segment+offset addressing)!
      
      The result is that the hex value of a pointer will maybe/maybe not have a 0x
      prepended to it.
      
      
      Notes on the patch:
      
      There are two main classes of changes:
      - in the various repr() functions that print out pointers
      - debugging printf's in the various thread_*.h files (these are why the
      patch is large)
      
      
      Closes SourceForge patch #100505.
      a44d353e
    • Jeremy Hylton's avatar
  18. 29 Jun, 2000 1 commit
    • Fred Drake's avatar
      This patch addresses two main issues: (1) There exist some non-fatal · 13634cf7
      Fred Drake authored
      errors in some of the hash algorithms. For exmaple, in float_hash and
      complex_hash a certain part of the value is not included in the hash
      calculation. See Tim's, Guido's, and my discussion of this on
      python-dev in May under the title "fix float_hash and complex_hash for
      64-bit *nix"
      
      (2) The hash algorithms that use pointers (e.g. func_hash, code_hash)
      are universally not correct on Win64 (they assume that sizeof(long) ==
      sizeof(void*))
      
      As well, this patch significantly cleans up the hash code. It adds the
      two function _Py_HashDouble and _PyHash_VoidPtr that the various
      hashing routine are changed to use.
      
      These help maintain the hash function invariant: (a==b) =>
      (hash(a)==hash(b))) I have added Lib/test/test_hash.py and
      Lib/test/output/test_hash to test this for some cases.
      13634cf7
  19. 28 Jun, 2000 1 commit
  20. 23 Jun, 2000 1 commit
  21. 09 Jun, 2000 1 commit
  22. 03 May, 2000 1 commit
    • Guido van Rossum's avatar
      Vladimir Marangozov's long-awaited malloc restructuring. · b18618da
      Guido van Rossum authored
      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
  23. 24 Apr, 2000 1 commit
    • Guido van Rossum's avatar
      Christian Tismer -- total rewrite on trashcan code. · e92e610a
      Guido van Rossum authored
      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
  24. 14 Apr, 2000 1 commit
  25. 10 Apr, 2000 2 commits
  26. 25 Mar, 2000 1 commit
    • Guido van Rossum's avatar
      Christian Tismer: · 13ff8eb4
      Guido van Rossum authored
      Added "better safe than sorry" patch to the new
      trashcan code in object.c, to ensure that tstate
      is not touched when it might be undefined.
      13ff8eb4
  27. 13 Mar, 2000 1 commit
    • Guido van Rossum's avatar
      Christian Tismer's "trashcan" patch: · d724b234
      Guido van Rossum authored
      Added wrapping macros to dictobject.c, listobject.c, tupleobject.c,
      frameobject.c, traceback.c that safely prevends core dumps
      on stack overflow. Macros and functions in object.c, object.h.
      The method is an "elevator destructor" that turns cascading
      deletes into tail recursive behavior when some limit is hit.
      d724b234
  28. 10 Mar, 2000 1 commit
  29. 20 Jan, 2000 1 commit
  30. 12 Jan, 2000 1 commit
  31. 21 Jul, 1998 1 commit
  32. 09 Jun, 1998 1 commit