1. 26 Ock, 2009 2 kayıt (commit)
  2. 25 Ock, 2009 1 kayıt (commit)
  3. 24 Ock, 2009 1 kayıt (commit)
  4. 17 Ara, 2008 1 kayıt (commit)
  5. 04 Agu, 2008 1 kayıt (commit)
  6. 31 Tem, 2008 1 kayıt (commit)
  7. 10 Tem, 2008 1 kayıt (commit)
  8. 24 Haz, 2008 1 kayıt (commit)
  9. 20 Haz, 2008 1 kayıt (commit)
  10. 09 Haz, 2008 1 kayıt (commit)
  11. 01 Haz, 2008 2 kayıt (commit)
  12. 30 May, 2008 1 kayıt (commit)
  13. 26 May, 2008 1 kayıt (commit)
  14. 18 Nis, 2008 1 kayıt (commit)
    • Christian Heimes's avatar
      I finally got the time to update and merge Mark's and my trunk-math branch. The… · 6f341093
      Christian Heimes yazdı
      I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math.
      
      The patch also adds acosh, asinh, atanh, log1p and copysign to all platforms. Finally it fixes differences between platforms like different results or exceptions for edge cases. Have fun :)
      6f341093
  15. 15 Nis, 2008 1 kayıt (commit)
  16. 28 Mar, 2008 1 kayıt (commit)
  17. 27 Mar, 2008 1 kayıt (commit)
  18. 18 Mar, 2008 1 kayıt (commit)
  19. 17 Mar, 2008 1 kayıt (commit)
    • Eric Smith's avatar
      Finished backporting PEP 3127, Integer Literal Support and Syntax. · 9ff19b54
      Eric Smith yazdı
      Added 0b and 0o literals to tokenizer.
      Modified PyOS_strtoul to support 0b and 0o inputs.
      Modified PyLong_FromString to support guessing 0b and 0o inputs.
      Renamed test_hexoct.py to test_int_literal.py and added binary tests.
      Added upper and lower case 0b, 0O, and 0X tests to test_int_literal.py
      9ff19b54
  20. 17 Şub, 2008 1 kayıt (commit)
    • Eric Smith's avatar
      Backport of PEP 3101, Advanced String Formatting, from py3k. · a9f7d624
      Eric Smith yazdı
      Highlights:
       - Adding PyObject_Format.
       - Adding string.Format class.
       - Adding __format__ for str, unicode, int, long, float, datetime.
       - Adding builtin format.
       - Adding ''.format and u''.format.
       - str/unicode fixups for formatters.
      
      The files in Objects/stringlib that implement PEP 3101 (stringdefs.h,
      unicodedefs.h, formatter.h, string_format.h) are identical in trunk
      and py3k.  Any changes from here on should be made to trunk, and
      changes will propogate to py3k).
      a9f7d624
  21. 10 Şub, 2008 1 kayıt (commit)
    • Eric Smith's avatar
      Added PyNumber_ToBase and supporting routines _PyInt_Format and · 5e527ebe
      Eric Smith yazdı
      _PyLong_Format.  In longobject.c, changed long_format to
      _PyLong_Format.  In intobject.c, changed uses of PyOS_snprintf to
      _PyInt_Format instead.
      
      _PyLong_Format is similar to py3k's routine of the same name, except
      it has 2 additional parameters: addL and newstyle.  addL was existing
      in long_format, and controls adding the trailing "L".  This is
      unneeded in py3k.  newstyle is used to control whether octal prepends
      "0" (the pre-2.6 style), or "0o" (the 3.0 sytle).
      
      PyNumber_ToBase is needed for PEP 3127 (Integer Literal Support and
      Syntax) and PEP 3101 (Advanced String Formatting).
      
      This changeset does not need merging into py3k.
      5e527ebe
  22. 25 Ock, 2008 1 kayıt (commit)
    • Christian Heimes's avatar
      Backport of several functions from Python 3.0 to 2.6 including… · 7f39c9fc
      Christian Heimes yazdı
      Backport of several functions from Python 3.0 to 2.6 including PyUnicode_FromString, PyUnicode_Format and PyLong_From/AsSsize_t. The functions are partly required for the backport of the bytearray type and _fileio module. They should also make it easier to port C to 3.0.
      First chapter of the Python 3.0 io framework back port: _fileio
      The next step depends on a working bytearray type which itself depends on a backport of the nwe buffer API.
      7f39c9fc
  23. 18 Ock, 2008 1 kayıt (commit)
  24. 05 Ock, 2008 1 kayıt (commit)
    • Jeffrey Yasskin's avatar
      Continue rolling back pep-3141 changes that changed behavior from 2.5. This · 9871d8fe
      Jeffrey Yasskin yazdı
      round included:
       * Revert round to its 2.6 behavior (half away from 0).
       * Because round, floor, and ceil always return float again, it's no
         longer necessary to have them delegate to __xxx___, so I've ripped
         that out of their implementations and the Real ABC. This also helps
         in implementing types that work in both 2.6 and 3.0: you return int
         from the __xxx__ methods, and let it get enabled by the version
         upgrade.
       * Make pow(-1, .5) raise a ValueError again.
      9871d8fe
  25. 04 Ock, 2008 2 kayıt (commit)
  26. 03 Ock, 2008 1 kayıt (commit)
  27. 19 Ara, 2007 1 kayıt (commit)
  28. 19 Eyl, 2007 1 kayıt (commit)
  29. 21 Tem, 2007 1 kayıt (commit)
  30. 03 May, 2007 1 kayıt (commit)
    • Kristján Valur Jónsson's avatar
      Fix problems in x64 build that were discovered by the testsuite: · f030394d
      Kristján Valur Jónsson yazdı
      - Reenable modules on x64 that had been disabled aeons ago for Itanium.
      - Cleared up confusion about compilers for 64 bit windows.  There is only Itanium and x64.  Added macros MS_WINI64 and MS_WINX64 for those rare cases where it matters, such as the disabling of modules above.
      - Set target platform (_WIN32_WINNT and WINVER) to 0x0501 (XP) for x64, and 0x0400 (NT 4.0) otherwise, which are the targeted minimum platforms.
      - Fixed thread_nt.h.  The emulated InterlockedCompareExchange function didn´t work on x64, probaby due to the lack of a "volatile" specifier.  Anyway, win95 is no longer a target platform.
      - Itertools module used wrong constant to check for overflow in count()
      - PyInt_AsSsize_t couldn't deal with attribute error when accessing the __long__ member.
      - PyLong_FromSsize_t() incorrectly specified that the operand were unsigned.
      
      With these changes, the x64 passes the testsuite, for those modules present.
      f030394d
  31. 11 Nis, 2007 1 kayıt (commit)
  32. 06 Mar, 2007 1 kayıt (commit)
  33. 25 Şub, 2007 1 kayıt (commit)
    • Neal Norwitz's avatar
      Variation of patch # 1624059 to speed up checking if an object is a subclass · ee3a1b52
      Neal Norwitz yazdı
      of some of the common builtin types.
      
      Use a bit in tp_flags for each common builtin type.  Check the bit
      to determine if any instance is a subclass of these common types.
      The check avoids a function call and O(n) search of the base classes.
      The check is done in the various Py*_Check macros rather than calling
      PyType_IsSubtype().
      
      All the bits are set in tp_flags when the type is declared
      in the Objects/*object.c files because PyType_Ready() is not called
      for all the types.  Should PyType_Ready() be called for all types?
      If so and the change is made, the changes to the Objects/*object.c files
      can be reverted (remove setting the tp_flags).  Objects/typeobject.c
      would also have to be modified to add conditions
      for Py*_CheckExact() in addition to each the PyType_IsSubtype check.
      ee3a1b52
  34. 04 Eki, 2006 1 kayıt (commit)
    • Armin Rigo's avatar
      Forward-port of r52136,52138: a review of overflow-detecting code. · 7ccbca93
      Armin Rigo yazdı
      * unified the way intobject, longobject and mystrtoul handle
        values around -sys.maxint-1.
      
      * in general, trying to entierely avoid overflows in any computation
        involving signed ints or longs is extremely involved.  Fixed a few
        simple cases where a compiler might be too clever (but that's all
        guesswork).
      
      * more overflow checks against bad data in marshal.c.
      
      * 2.5 specific: fixed a number of places that were still confusing int
        and Py_ssize_t.  Some of them could potentially have caused
        "real-world" breakage.
      
      * list.pop(x): fixing overflow issues on x was messy.  I just reverted
        to PyArg_ParseTuple("n"), which does the right thing.  (An obscure
        test was trying to give a Decimal to list.pop()... doesn't make
        sense any more IMHO)
      
      * trying to write a few tests...
      7ccbca93
  35. 12 Agu, 2006 1 kayıt (commit)
    • Neal Norwitz's avatar
      Patch #1538606, Patch to fix __index__() clipping. · 8a87f5d3
      Neal Norwitz yazdı
      I modified this patch some by fixing style, some error checking, and adding
      XXX comments.  This patch requires review and some changes are to be expected.
      I'm checking in now to get the greatest possible review and establish a
      baseline for moving forward.  I don't want this to hold up release if possible.
      8a87f5d3
  36. 23 Tem, 2006 1 kayıt (commit)
  37. 16 Tem, 2006 1 kayıt (commit)