1. 16 Agu, 2005 2 kayıt (commit)
  2. 12 Agu, 2005 1 kayıt (commit)
  3. 07 Agu, 2005 1 kayıt (commit)
  4. 06 Agu, 2005 1 kayıt (commit)
  5. 02 Agu, 2005 2 kayıt (commit)
  6. 01 Agu, 2005 1 kayıt (commit)
    • Raymond Hettinger's avatar
      * Improve code for the empty frozenset singleton: · d7946660
      Raymond Hettinger yazdı
        - Handle both frozenset() and frozenset([]).
        - Do not use singleton for frozenset subclasses.
        - Finalize the singleton.
        - Add test cases.
      * Factor-out set_update_internal() from set_update().  Simplifies the
        code for several internal callers.
      * Factor constant expressions out of loop in set_merge_internal().
      * Minor comment touch-ups.
      d7946660
  7. 31 Tem, 2005 1 kayıt (commit)
  8. 22 Tem, 2005 1 kayıt (commit)
  9. 25 Haz, 2005 1 kayıt (commit)
  10. 03 Haz, 2005 1 kayıt (commit)
    • Michael W. Hudson's avatar
      This is my patch: · df88846e
      Michael W. Hudson yazdı
      [ 1180995 ] binary formats for marshalling floats
      
      Adds 2 new type codes for marshal (binary floats and binary complexes), a
      new marshal version (2), updates MAGIC and fiddles the de-serializing of
      code objects to be less likely to clobber the real reason for failing if
      it fails.
      df88846e
  11. 27 May, 2005 1 kayıt (commit)
    • Michael W. Hudson's avatar
      This is my patch: · ba283e2b
      Michael W. Hudson yazdı
      [ 1181301 ] make float packing copy bytes when they can
      
      which hasn't been reviewed, despite numerous threats to check it in
      anyway if noone reviews it.  Please read the diff on the checkin list,
      at least!
      
      The basic idea is to examine the bytes of some 'probe values' to see if
      the current platform is a IEEE 754-ish platform, and if so
      _PyFloat_{Pack,Unpack}{4,8} just copy bytes around.
      
      The rest is hair for testing, and tests.
      ba283e2b
  12. 03 Mar, 2005 2 kayıt (commit)
  13. 03 Ara, 2004 1 kayıt (commit)
  14. 30 Kas, 2004 1 kayıt (commit)
  15. 29 Kas, 2004 1 kayıt (commit)
  16. 22 Kas, 2004 1 kayıt (commit)
  17. 15 Kas, 2004 1 kayıt (commit)
  18. 05 Kas, 2004 1 kayıt (commit)
    • Raymond Hettinger's avatar
      SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in core · ec6eb369
      Raymond Hettinger yazdı
      (Contributed by Bob Ippolito.)
      
      This patch trims down the Python core on Darwin by making it
      independent of CoreFoundation and CoreServices. It does this by:
      
      Changed linker flags in configure/configure.in
      Removed the unused PyMac_GetAppletScriptFile
      Moved the implementation of PyMac_StrError to the MacOS module
      Moved the implementation of PyMac_GetFullPathname to the
      Carbon.File module
      ec6eb369
  19. 02 Kas, 2004 1 kayıt (commit)
  20. 31 Eki, 2004 1 kayıt (commit)
  21. 30 Eki, 2004 1 kayıt (commit)
    • Tim Peters's avatar
      SF 1055820: weakref callback vs gc vs threads · ead8b7ab
      Tim Peters yazdı
      In cyclic gc, clear weakrefs to unreachable objects before allowing any
      Python code (weakref callbacks or __del__ methods) to run.
      
      This is a critical bugfix, affecting all versions of Python since weakrefs
      were introduced.  I'll backport to 2.3.
      ead8b7ab
  22. 28 Eki, 2004 1 kayıt (commit)
    • Armin Rigo's avatar
      Wrote down the invariants of some common objects whose structure is · 89a39461
      Armin Rigo yazdı
      exposed in header files.  Fixed a few comments in these headers.
      
      As we might have expected, writing down invariants systematically exposed a
      (minor) bug.  In this case, function objects have a writeable func_code
      attribute, which could be set to code objects with the wrong number of
      free variables.  Calling the resulting function segfaulted the interpreter.
      Added a corresponding test.
      89a39461
  23. 14 Eki, 2004 1 kayıt (commit)
  24. 11 Eki, 2004 1 kayıt (commit)
  25. 07 Eki, 2004 2 kayıt (commit)
  26. 23 Eyl, 2004 3 kayıt (commit)
  27. 07 Eyl, 2004 1 kayıt (commit)
    • Walter Dörwald's avatar
      SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support · 69652035
      Walter Dörwald yazdı
      decoding incomplete input (when the input stream is temporarily exhausted).
      codecs.StreamReader now implements buffering, which enables proper
      readline support for the UTF-16 decoders. codecs.StreamReader.read()
      has a new argument chars which specifies the number of characters to
      return. codecs.StreamReader.readline() and codecs.StreamReader.readlines()
      have a new argument keepends. Trailing "\n"s will be stripped from the lines
      if keepends is false. Added C APIs PyUnicode_DecodeUTF8Stateful and
      PyUnicode_DecodeUTF16Stateful.
      69652035
  28. 01 Eyl, 2004 1 kayıt (commit)
  29. 31 Agu, 2004 2 kayıt (commit)
  30. 30 Agu, 2004 1 kayıt (commit)
    • Tim Peters's avatar
      SF patch 936813: fast modular exponentiation · 47e52ee0
      Tim Peters yazdı
      This checkin is adapted from part 2 (of 3) of Trevor Perrin's patch set.
      
      BACKWARD INCOMPATIBILITY:  SHIFT must now be divisible by 5.  AFAIK,
      nobody will care.  long_pow() could be complicated to worm around that,
      if necessary.
      
      long_pow():
        - BUGFIX:  This leaked the base and power when the power was negative
          (and so the computation delegated to float pow).
        - Instead of doing right-to-left exponentiation, do left-to-right.  This
          is more efficient for small bases, which is the common case.
        - In addition, if the exponent is large (more than FIVEARY_CUTOFF
          digits), precompute [a**i % c for i in range(32)], and go left to
          right 5 bits at a time.
      l_divmod():
        - The signature changed so that callers who don't want the quotient,
          or don't want the remainder, can pass NULL in the slot they don't
          want.  This saves them from having to declare a vrbl for unwanted
          stuff, and remembering to decref it.
      long_mod(), long_div(), long_classic_div():
        - Adjust to new l_divmod() signature, and simplified as a result.
      47e52ee0
  31. 29 Agu, 2004 1 kayıt (commit)
    • Tim Peters's avatar
      SF patch 936813: fast modular exponentiation · 0973b99e
      Tim Peters yazdı
      This checkin is adapted from part 1 (of 3) of Trevor Perrin's patch set.
      
      x_mul()
        - sped a little by optimizing the C
        - sped a lot (~2X) if it's doing a square; note that long_pow() squares
          often
      k_mul()
        - more cache-friendly now if it's doing a square
      KARATSUBA_CUTOFF
        - boosted; gradeschool mult is quicker now, and it may have been too low
          for many platforms anyway
      KARATSUBA_SQUARE_CUTOFF
        - new
        - since x_mul is a lot faster at squaring now, the point at which
          Karatsuba pays for squaring is much higher than for general mult
      0973b99e
  32. 25 Agu, 2004 1 kayıt (commit)
  33. 19 Agu, 2004 1 kayıt (commit)