1. 22 Jul, 1998 3 commits
  2. 21 Jul, 1998 3 commits
  3. 20 Jul, 1998 11 commits
  4. 17 Jul, 1998 6 commits
  5. 16 Jul, 1998 4 commits
  6. 15 Jul, 1998 2 commits
  7. 14 Jul, 1998 1 commit
    • Guido van Rossum's avatar
      Temporarily get rid of the registration of Tcl_Finalize() as a · 43ff8683
      Guido van Rossum authored
      low-level Python exit handler.  This can attempt to call Python code
      at a point that the interpreter and thread state have already been
      destroyed, causing a Bus Error.  Given the intended use of
      Py_AtExit(), I'm not convinced that it's a good idea to call it
      earlier during Python's finalization sequence...  (Although this is
      the only use for it in the entire distribution.)
      43ff8683
  8. 13 Jul, 1998 7 commits
  9. 10 Jul, 1998 3 commits
    • Guido van Rossum's avatar
      Add special case to PySequence_List() so that list() of a list is · 5dba9e8a
      Guido van Rossum authored
      faster (using PyList_GetSlice()).  Also added a test for a NULL
      argument, as with PySequence_Tuple().  (Hmm...  Better names for these
      two would be PyList_FromSequence() and PyTuple_FromSequence().  Oh well.)
      5dba9e8a
    • Guido van Rossum's avatar
      Small changes to map() and filter(): · fa4ac71d
      Guido van Rossum authored
      (1) If a sequence S is shorter than len(S) indicated, don't fail --
      just use the shorter size.  (I.e, len(S) is just a hint.)
      
      (2) Implement the special case map(None, S) as list(S) -- it's faster.
      fa4ac71d
    • Guido van Rossum's avatar
      Changed PySequence_List() and PySequence_Tuple() to support · bfc725bf
      Guido van Rossum authored
      "indefinite length" sequences.  These should still have a length, but
      the length is only used as a hint -- the actual length of the sequence
      is determined by the item that raises IndexError, which may be either
      smaller or larger than what len() returns.  (This is a novelty; map(),
      filter() and reduce() only allow the actual length to be larger than
      what len() returns, not shorter.  I'll fix that shortly.)
      bfc725bf