1. 25 Ock, 2001 1 kayıt (commit)
  2. 15 Ock, 2001 1 kayıt (commit)
  3. 11 Ara, 2000 1 kayıt (commit)
  4. 01 Ara, 2000 1 kayıt (commit)
  5. 26 Eyl, 2000 1 kayıt (commit)
  6. 21 Eyl, 2000 1 kayıt (commit)
    • Marc-André Lemburg's avatar
      Special case the "s#" PyArg_Parse() token for Unicode objects: · 0afff388
      Marc-André Lemburg yazdı
      "s#" will now return a pointer to the default encoded string data
      of the Unicode object instead of a pointer to the raw UTF-16
      data.
      
      The latter is still available via PyObject_AsReadBuffer().
      
      The patch also adds an optimization for string objects which is
      based on the fact that string objects return the raw character data
      for getreadbuffer access and are always single-segment.
      0afff388
  7. 15 Eyl, 2000 1 kayıt (commit)
  8. 08 Eyl, 2000 1 kayıt (commit)
  9. 01 Eyl, 2000 1 kayıt (commit)
  10. 05 Agu, 2000 1 kayıt (commit)
  11. 03 Agu, 2000 1 kayıt (commit)
    • Marc-André Lemburg's avatar
      This patch finalizes the move from UTF-8 to a default encoding in · bff879ca
      Marc-André Lemburg yazdı
      the Python Unicode implementation.
      
      The internal buffer used for implementing the buffer protocol
      is renamed to defenc to make this change visible. It now holds the
      default encoded version of the Unicode object and is calculated
      on demand (NULL otherwise).
      
      Since the default encoding defaults to ASCII, this will mean that
      Unicode objects which hold non-ASCII characters will no longer
      work on C APIs using the "s" or "t" parser markers. C APIs must now
      explicitly provide Unicode support via the "u", "U" or "es"/"es#"
      parser markers in order to work with non-ASCII Unicode strings.
      
      (Note: this patch will also have to be applied to the 1.6 branch
       of the CVS tree.)
      bff879ca
  12. 22 Tem, 2000 1 kayıt (commit)
  13. 16 Tem, 2000 1 kayıt (commit)
    • Thomas Wouters's avatar
      Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either · 7e474022
      Thomas Wouters yazdı
      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
  14. 12 Tem, 2000 1 kayıt (commit)
  15. 09 Tem, 2000 1 kayıt (commit)
  16. 06 Tem, 2000 1 kayıt (commit)
  17. 01 Tem, 2000 1 kayıt (commit)
  18. 30 Haz, 2000 2 kayıt (commit)
  19. 28 Haz, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Vladimir Marangozov: · 5e08cb8e
      Guido van Rossum yazdı
      This patch fixes a problem on AIX with the signed int case code in
      getargs.c, after Trent Mick's intervention about MIN/MAX overflow
      checks. The AIX compiler/optimizer generates bogus code with the
      default flags "-g -O" causing test_builtin to fail: int("10", 16) <>
      16L. Swapping the two checks in the signed int code makes the problem
      go away.
      
      Also, make the error messages fit in 80 char lines in the
      source.
      5e08cb8e
  20. 09 May, 2000 1 kayıt (commit)
    • Fred Drake's avatar
      Trent Mick <trentm@activestate.com>: · 230cae74
      Fred Drake yazdı
      Limit the 'b' formatter of PyArg_ParseTuple to valid values of an unsigned
      char, i.e. [0,UCHAR_MAX]. It is expected that this is the common usage of 'b'.
      An OverflowError is raised if the parsed value is outside this range.
      230cae74
  21. 08 May, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Trent Mick: · 80dc16ba
      Guido van Rossum yazdı
      Changes the 'b', 'h', and 'i' formatters in PyArg_ParseTuple to raise an
      Overflow exception if they overflow (previously they just silently
      overflowed).
      
      Changes by Guido: always accept values [0..255] (in addition to
      [CHAR_MIN..CHAR_MAX]) for 'b' format; changed some spaces into tabs in
      other code.
      80dc16ba
  22. 03 May, 2000 1 kayıt (commit)
    • Fred Drake's avatar
      Brian Hooper <brian_takashi@hotmail.com>: · 25871c00
      Fred Drake yazdı
      Added 'u' and 'u#' tags for PyArg_ParseTuple - these turn a
      PyUnicodeObject argument into a Py_UNICODE * buffer, or a Py_UNICODE *
      buffer plus a length with the '#'.  Also added an analog to 'U'
      for Py_BuildValue.
      25871c00
  23. 27 Nis, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Marc-Andre Lemburg: · 700c6ff1
      Guido van Rossum yazdı
      Fixed a memory leak found by Fredrik Lundh.  Instead of
      PyUnicode_AsUTF8String() we now use _PyUnicode_AsUTF8String() which
      returns the string object without incremented refcount (and assures
      that the so obtained object remains alive until the Unicode object is
      garbage collected).
      700c6ff1
  24. 28 Mar, 2000 2 kayıt (commit)
    • 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
      Typo fixed by Mark Hammond. · 50fbb15b
      Guido van Rossum yazdı
      50fbb15b
  25. 24 Mar, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Marc-Andre Lemburg: · d8855fde
      Guido van Rossum yazdı
      Attached you find the latest update of the Unicode implementation.
      The patch is against the current CVS version.
      
      It includes the fix I posted yesterday for the core dump problem
      in codecs.c (was introduced by my previous patch set -- sorry),
      adds more tests for the codecs and two new parser markers
      "es" and "es#".
      d8855fde
  26. 10 Mar, 2000 1 kayıt (commit)
  27. 17 Şub, 1999 1 kayıt (commit)
  28. 25 Ock, 1999 1 kayıt (commit)
  29. 08 Eki, 1998 1 kayıt (commit)
  30. 25 Agu, 1998 1 kayıt (commit)
  31. 04 Agu, 1998 1 kayıt (commit)
  32. 15 May, 1998 1 kayıt (commit)
    • Guido van Rossum's avatar
      Another veeeeeery old patch... · fccfe897
      Guido van Rossum yazdı
      Date:    Thu, 14 Sep 1995 12:18:20 -0400
      From:    Alan Morse <alan@dvcorp.com>
      To:      python-list@cwi.nl
      Subject: getargs bug in 1.2 and 1.3 BETA
      
      We have found a bug in the part of the getargs code that we added
      and submitted, and which was incorporated into 1.1.
      
      The parsing of "O?" format specifiers is not handled correctly;
      there is no "else" for the "if" and therefore it can never fail.
      What's worse, the advancing of the varargs pointer is not
      handled properly, so from then on it is out of sync, wreaking
      all sorts of havoc. (If it had failed properly, then the out-of-sync
      varargs would not have been an issue.)
      
      Below is the context diff for the change.
      
      Note that I have made a few stylistic changes beyond adding the
      else case, namely:
      
      1) Making the "O" case follow the convention established by the other
      format specifiers of getting all their vararg arguments before
      performing the test, rather than getting some before and some after
      the test passes.
      
      2) Making the logic of the tests parallel, so the "if" part indicates
      that the format is accepted and the "else" part indicates that the
      format has failed. They were inconsistent with each other and with the
      the other format specifiers.
      
      -Alan Morse (amorse@dvcorp.com)
      fccfe897
  33. 10 Nis, 1998 1 kayıt (commit)
  34. 19 Ock, 1998 1 kayıt (commit)
  35. 19 Ara, 1997 1 kayıt (commit)
  36. 09 Ara, 1997 1 kayıt (commit)
  37. 05 May, 1997 2 kayıt (commit)