1. 04 Eki, 2002 1 kayıt (commit)
  2. 25 Eyl, 2002 1 kayıt (commit)
  3. 24 Eyl, 2002 1 kayıt (commit)
  4. 08 Eyl, 2002 1 kayıt (commit)
  5. 28 Tem, 2002 1 kayıt (commit)
  6. 20 Haz, 2002 1 kayıt (commit)
  7. 17 Haz, 2002 1 kayıt (commit)
  8. 14 Haz, 2002 1 kayıt (commit)
  9. 13 Haz, 2002 1 kayıt (commit)
  10. 30 Nis, 2002 2 kayıt (commit)
    • Anthony Baxter's avatar
      backport theller's patch: · 43eb1d3a
      Anthony Baxter yazdı
      Typo: whcar_t should be wchar_t.
      
      Bugfix candidate? Don't know how this is handled in the docs.
      
      Original patch(es):
      python/dist/src/Doc/api/concrete.tex:1.15
      43eb1d3a
    • Anthony Baxter's avatar
      backport tim_one's patch: · 608ee5a8
      Anthony Baxter yazdı
      Repair widespread misuse of _PyString_Resize.  Since it's clear people
      don't understand how this function works, also beefed up the docs.  The
      most common usage error is of this form (often spread out across gotos):
      
      	if (_PyString_Resize(&s, n) < 0) {
      		Py_DECREF(s);
      		s = NULL;
      		goto outtahere;
      	}
      
      The error is that if _PyString_Resize runs out of memory, it automatically
      decrefs the input string object s (which also deallocates it, since its
      refcount must be 1 upon entry), and sets s to NULL.  So if the "if"
      branch ever triggers, it's an error to call Py_DECREF(s):  s is already
      NULL!  A correct way to write the above is the simpler (and intended)
      
      	if (_PyString_Resize(&s, n) < 0)
      		goto outtahere;
      
      Bugfix candidate.
      
      Original patch(es):
      python/dist/src/Doc/api/concrete.tex:1.13
      608ee5a8
  11. 10 Nis, 2002 1 kayıt (commit)
  12. 04 Nis, 2002 1 kayıt (commit)
  13. 27 Mar, 2002 1 kayıt (commit)
  14. 12 Mar, 2002 1 kayıt (commit)
  15. 11 Mar, 2002 1 kayıt (commit)
  16. 20 Şub, 2002 1 kayıt (commit)
  17. 28 Ara, 2001 1 kayıt (commit)
  18. 11 Ara, 2001 2 kayıt (commit)
  19. 06 Ara, 2001 1 kayıt (commit)
  20. 03 Ara, 2001 3 kayıt (commit)
  21. 29 Kas, 2001 1 kayıt (commit)
  22. 28 Kas, 2001 1 kayıt (commit)
    • Fred Drake's avatar
      Clean up some markup cruft. A number of the macros that take no · c37b65ee
      Fred Drake yazdı
      parameters (like \UNIX) are commonly entered using an empty group to
      separate the markup from a following inter-word space; this is not
      needed when the next character is punctuation, or the markup is the
      last thing in the enclosing group.  These cases were marked
      inconsistently; the empty group is now *only* used when needed.
      c37b65ee
  23. 26 Kas, 2001 1 kayıt (commit)
  24. 17 Kas, 2001 1 kayıt (commit)
  25. 12 Kas, 2001 1 kayıt (commit)
  26. 09 Kas, 2001 2 kayıt (commit)
  27. 29 Eki, 2001 1 kayıt (commit)
  28. 28 Eki, 2001 1 kayıt (commit)
  29. 26 Eki, 2001 3 kayıt (commit)
    • Fred Drake's avatar
      Added docs for PyObject_CallFunctionObArgs() and PyObject_CallMethodObArgs(). · c44e9eca
      Fred Drake yazdı
      Minor cleanups & markup consistency fixes.
      c44e9eca
    • Fred Drake's avatar
      Added refcount data for PyObject_CallFunctionObArgs() and · 81c7aa2c
      Fred Drake yazdı
      PyObject_CallMethodObArgs().
      81c7aa2c
    • Tim Peters's avatar
      Generalize dictionary() to accept a sequence of 2-sequences. At the · 1fc240e8
      Tim Peters yazdı
      outer level, the iterator protocol is used for memory-efficiency (the
      outer sequence may be very large if fully materialized); at the inner
      level, PySequence_Fast() is used for time-efficiency (these should
      always be sequences of length 2).
      
      dictobject.c, new functions PyDict_{Merge,Update}FromSeq2.  These are
      wholly analogous to PyDict_{Merge,Update}, but process a sequence-of-2-
      sequences argument instead of a mapping object.  For now, I left these
      functions file static, so no corresponding doc changes.  It's tempting
      to change dict.update() to allow a sequence-of-2-seqs argument too.
      
      Also changed the name of dictionary's keyword argument from "mapping"
      to "x".  Got a better name?  "mapping_or_sequence_of_pairs" isn't
      attractive, although more so than "mosop" <wink>.
      
      abstract.h, abstract.tex:  Added new PySequence_Fast_GET_SIZE function,
      much faster than going thru the all-purpose PySequence_Size.
      
      libfuncs.tex:
      - Document dictionary().
      - Fiddle tuple() and list() to admit that their argument is optional.
      - The long-winded repetitions of "a sequence, a container that supports
        iteration, or an iterator object" is getting to be a PITA.  Many
        months ago I suggested factoring this out into "iterable object",
        where the definition of that could include being explicit about
        generators too (as is, I'm not sure a reader outside of PythonLabs
        could guess that "an iterator object" includes a generator call).
      - Please check my curly braces -- I'm going blind <0.9 wink>.
      
      abstract.c, PySequence_Tuple():  When PyObject_GetIter() fails, leave
      its error msg alone now (the msg it produces has improved since
      PySequence_Tuple was generalized to accept iterable objects, and
      PySequence_Tuple was also stomping on the msg in cases it shouldn't
      have even before PyObject_GetIter grew a better msg).
      1fc240e8
  30. 25 Eki, 2001 1 kayıt (commit)
  31. 23 Eki, 2001 1 kayıt (commit)
  32. 16 Eki, 2001 1 kayıt (commit)
  33. 14 Eki, 2001 1 kayıt (commit)