1. 12 Eki, 2000 1 kayıt (commit)
  2. 11 Eki, 2000 4 kayıt (commit)
  3. 10 Eki, 2000 1 kayıt (commit)
  4. 06 Eki, 2000 1 kayıt (commit)
    • Fred Drake's avatar
      Donn Cave <donn@u.washington.edu>: · a6c2eb5e
      Fred Drake yazdı
      Do not assume that all platforms using a MetroWorks compiler can use
      POSIX threads; the assumption breaks on BeOS.  This fix only helps
      for BeOS.
      
      This closes SourceForge patch #101772.
      a6c2eb5e
  5. 05 Eki, 2000 2 kayıt (commit)
  6. 03 Eki, 2000 1 kayıt (commit)
  7. 29 Eyl, 2000 1 kayıt (commit)
    • Tim Peters's avatar
      The 2.0b2 change to write .pyc files in exclusive mode (if possible) · 42c83afd
      Tim Peters yazdı
      unintentionally caused them to get written in text mode under Windows.
      As a result, when .pyc files were later read-- in binary mode --the
      magic number was always wrong (note that .pyc magic numbers deliberately
      include \r and \n characters, so this was "good" breakage, 100% across
      all .pyc files, not random corruption in a subset).  Fixed that.
      42c83afd
  8. 26 Eyl, 2000 1 kayıt (commit)
  9. 23 Eyl, 2000 1 kayıt (commit)
    • Fred Drake's avatar
      Andrew Kuchling <akuchlin@mems-exchange.org>: · 9e285156
      Fred Drake yazdı
      Add three new convenience functions to the PyModule_*() family:
      PyModule_AddObject(), PyModule_AddIntConstant(), PyModule_AddStringConstant().
      
      This closes SourceForge patch #101233.
      9e285156
  10. 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
  11. 20 Eyl, 2000 1 kayıt (commit)
  12. 19 Eyl, 2000 3 kayıt (commit)
    • Marc-André Lemburg's avatar
      This patch adds a new Python C API called PyString_AsStringAndSize() · d1ba4432
      Marc-André Lemburg yazdı
      which implements the automatic conversion from Unicode to a string
      object using the default encoding.
      
      The new API is then put to use to have eval() and exec accept
      Unicode objects as code parameter. This closes bugs #110924
      and #113890.
      
      As side-effect, the traditional C APIs PyString_Size() and
      PyString_AsString() will also accept Unicode objects as
      parameters.
      d1ba4432
    • Tim Peters's avatar
      Obscure marshal fixes: · e84b7403
      Tim Peters yazdı
          When reading a short, sign-extend on platforms where shorts are
          bigger than 16 bits.
          When reading a long, repair the unportable sign extension that was
          being done for 64-bit machines (it assumed that signed right shift
          sign-extends).
      e84b7403
    • Guido van Rossum's avatar
      Make better use of GNU Pth -- patch by Andy Dustman. · 9e8181b8
      Guido van Rossum yazdı
      I can't test this, so I'm just checking it in with blind faith in Andy.
      I've tested that it doesn't broeak a non-Pth build on Linux.
      
      Changes include:
      
      - There's a --with-pth configure option.
      
      - Instead of _GNU_PTH, we test for HAVE_PTH.
      
      - Better signal handling.
      
      - (The config.h.in file is regenerated in a slightly different order.)
      9e8181b8
  13. 18 Eyl, 2000 1 kayıt (commit)
  14. 16 Eyl, 2000 1 kayıt (commit)
  15. 15 Eyl, 2000 2 kayıt (commit)
  16. 08 Eyl, 2000 2 kayıt (commit)
  17. 05 Eyl, 2000 1 kayıt (commit)
  18. 04 Eyl, 2000 3 kayıt (commit)
  19. 03 Eyl, 2000 1 kayıt (commit)
  20. 02 Eyl, 2000 2 kayıt (commit)
    • Fredrik Lundh's avatar
      changed \x to consume exactly two hex digits. implements PEP-223 · 1fa0b895
      Fredrik Lundh yazdı
      for 8-bit strings.
      1fa0b895
    • Tim Peters's avatar
      PyInterpreterState_New is not thread-safe, and the recent fix to _PyPclose · 412f2460
      Tim Peters yazdı
      can cause it to get called by multiple threads simultaneously.
      
      Ditto for PyInterpreterState_Delete.
      
      Of the former, the docs say "The interpreter lock need not be held, but may
      be held if it is necessary to serialize calls to this function".  This
      kinda implies it both is and isn't thread-safe.
      
      Of the latter, the docs merely say "The interpreter lock need not be
      held.", and the clause about serializing is absent.
      
      I expect it was *believed* these are both thread-safe, and the bit about
      serializing via the global lock was meant as a permission rather than a
      caution.
      
      I also expect we've never seen a problem here because the Python core
      (prior to the _PyPclose fix) only calls these functions once per run.
      The Py_NewInterpreter subsystem exposed by the C API (but not used by
      Python itself) also calls them, but that subsystem appears to be very
      rarely used.
      
      Whatever, they're both thread-safe now.
      412f2460
  21. 01 Eyl, 2000 7 kayıt (commit)
  22. 31 Agu, 2000 2 kayıt (commit)