1. 15 Jun, 2000 1 commit
    • Fred Drake's avatar
      Thomas Wouters <thomas@xs4all.net>: · 714581e0
      Fred Drake authored
      The following patch adds "sq_contains" support to rangeobject, and enables
      the already-written support for sq_contains in listobject and tupleobject.
      
      The rangeobject "contains" code should be a bit more efficient than the
      current default "in" implementation ;-) It might not get used much, but it's
      not that much to add.
      
      listobject.c and tupleobject.c already had code for sq_contains, and the
      proper struct member was set, but the PyType structure was not extended to
      include tp_flags, so the object-specific code was not getting called (Go
      ahead, test it ;-). I also did this for the immutable_list_type in
      listobject.c, eventhough it is probably never used. Symmetry and all that.
      714581e0
  2. 14 Jun, 2000 3 commits
  3. 13 Jun, 2000 6 commits
  4. 11 Jun, 2000 1 commit
  5. 10 Jun, 2000 10 commits
  6. 09 Jun, 2000 5 commits
  7. 08 Jun, 2000 14 commits