1. 11 Mar, 2002 2 commits
  2. 08 Mar, 2002 2 commits
    • Jeremy Hylton's avatar
      (Possibly) correct use of Python memory APIs. · 4a8d43bb
      Jeremy Hylton authored
      Fix SF bug #516768 reported by Dave Wallace.
      
      Replace use of PyMem_DEL() with PyObject_Del() on object dealloc
      functions.  The use of PyMem_DEL() is incorrect for object
      deallocation, because it only ever calls the low-level free().  If a
      custom allocator like pymalloc is used, it needs to be called to free
      the memory.
      4a8d43bb
    • Andreas Jung's avatar
      · d27182ea
      Andreas Jung authored
            - Collector #278: DocumentWithImages could not handle URLs with
              underscores
      d27182ea
  3. 07 Mar, 2002 2 commits
  4. 05 Mar, 2002 7 commits
  5. 04 Mar, 2002 9 commits
  6. 01 Mar, 2002 4 commits
  7. 28 Feb, 2002 10 commits
  8. 27 Feb, 2002 2 commits
  9. 26 Feb, 2002 2 commits
    • Fred Drake's avatar
      *Again*, try to remove that annoying warning about the FCNTL module. · 3719aac9
      Fred Drake authored
      Shane, I'm going to beg you to help me get my test setup cleaned up
      tomorrow!
      3719aac9
    • Barry Warsaw's avatar
      Tim made this work. I knew we could count on him! :) Here's his · cc393366
      Barry Warsaw authored
      original checkin message:
      
          DateTime.__init__() and DateTime.__str__():  When a fractional
          number of seconds is passed in or derived, round it to the
          nearest millisecond.  Also changed str() to produce no more than
          three digits after the second's decimal point (if any).
      
          This ensures that DateTime->string->DateTime loses no information.
          Before this change, platform rounding errors in float<->string
          conversion could lose information in both conversion steps, so a
          DateTime object converted to string and back again didn't always
          reproduce the input object's value.  That's bad on its own, and
          testDateTime.py's testConstructor3() failed about 1% of the time
          on Linux as a result.  It doesn't fail after this patch.
      
          CAUTION:  Note that DateTime objects have at finest millisecond
          resolution now, even if the platform time.time() happens to have
          resolution finer than that.
      
      Note that he also had to fiddle with the function that returned system
      time, so he's got a wrapper around time.time() that rounds to 3 places
      the float returned by system time.   All the testing I've done
      indicates that this intermittent fixes the comparison failures.
      cc393366