1. 24 Mar, 2003 1 kayıt (commit)
  2. 23 Mar, 2003 3 kayıt (commit)
    • Tim Peters's avatar
      Improved new Py_TRACE_REFS gimmicks. · 7571a0fb
      Tim Peters yazdı
      Arranged that all the objects exposed by __builtin__ appear in the list
      of all objects.  I basically peed away two days tracking down a mystery
      leak in sys.gettotalrefcount() in a ZODB app (== tons of code), because
      the object leaking the references didn't appear in the sys.getobjects(0)
      list.  The object happened to be False.  Now False is in the list, along
      with other popular & previously missing leak candidates (like None).
      Alas, we still don't have a choke point covering *all* Python objects,
      so the list of all objects may still be incomplete.
      7571a0fb
    • Tim Peters's avatar
      slot_sq_contains(): This leaked a reference to the result of calling · bf9b2446
      Tim Peters yazdı
      __contains__().
      
      Bugfix candidate.
      bf9b2446
    • Tim Peters's avatar
      Refactored some of the Py_TRACE_REFS code. New private API function · 36eb4dfb
      Tim Peters yazdı
      _Py_AddToAllObjects() that simply inserts an object at the front of
      the doubly-linked list of all objects.  Changed PyType_Ready() (the
       closest thing we've got to a choke point for type objects) to call
      that.
      36eb4dfb
  3. 12 Mar, 2003 1 kayıt (commit)
  4. 07 Mar, 2003 1 kayıt (commit)
  5. 21 Şub, 2003 1 kayıt (commit)
  6. 18 Şub, 2003 3 kayıt (commit)
  7. 13 Şub, 2003 1 kayıt (commit)
    • Guido van Rossum's avatar
      SF patch #685738 by Michael Stone. · 298e4214
      Guido van Rossum yazdı
      This changes the default __new__ to refuse arguments iff tp_init is the
      default __init__ implementation -- thus making it a TypeError when you
      try to pass arguments to a constructor if the class doesn't override at
      least __init__ or __new__.
      298e4214
  8. 12 Şub, 2003 1 kayıt (commit)
  9. 11 Şub, 2003 3 kayıt (commit)
  10. 10 Şub, 2003 1 kayıt (commit)
  11. 06 Şub, 2003 1 kayıt (commit)
  12. 05 Şub, 2003 1 kayıt (commit)
  13. 07 Ock, 2003 1 kayıt (commit)
  14. 06 Ock, 2003 1 kayıt (commit)
  15. 31 Ara, 2002 1 kayıt (commit)
  16. 14 Ara, 2002 1 kayıt (commit)
  17. 13 Ara, 2002 1 kayıt (commit)
  18. 09 Ara, 2002 1 kayıt (commit)
    • Tim Peters's avatar
      SF 548651: Fix the METH_CLASS implementation. · bca1cbc6
      Tim Peters yazdı
      Most of these patches are from Thomas Heller, with long lines folded
      by Tim.  The change to test_descr.py is from Guido.  See the bug report.
      
      Not a bugfix candidate -- METH_CLASS is new in 2.3.
      bca1cbc6
  19. 07 Ara, 2002 1 kayıt (commit)
  20. 06 Ara, 2002 1 kayıt (commit)
  21. 27 Kas, 2002 4 kayıt (commit)
  22. 26 Kas, 2002 2 kayıt (commit)
    • Michael W. Hudson's avatar
      Initialize a variable. Hope this makes things work for Guido. · ac74f5d4
      Michael W. Hudson yazdı
      It's odd that gcc on my ibook didn't complain about this.
      ac74f5d4
    • Michael W. Hudson's avatar
      This is my patch: · 98bbc49c
      Michael W. Hudson yazdı
      [ 635933 ] make some type attrs writable
      
      Plus a couple of extra tests beyond what's up there.
      
      It hasn't been as carefully reviewed as it perhaps should, so all readers
      are encouraged, nay exhorted, to give this a close reading.
      
      There are still a couple of oddities related to assigning to __name__,
      but I intend to solicit python-dev's opinions on these.
      98bbc49c
  23. 25 Kas, 2002 1 kayıt (commit)
  24. 14 Kas, 2002 2 kayıt (commit)
  25. 18 Eki, 2002 3 kayıt (commit)
  26. 15 Eki, 2002 1 kayıt (commit)
    • Guido van Rossum's avatar
      For some reason (probably cut and paste), __ipow__ for new-style · 6e5680fc
      Guido van Rossum yazdı
      classes was called with three arguments.  This makes no sense, there's
      no way to pass in the "modulo" 3rd argument as for __pow__, and
      classic classes don't do this.  [SF bug 620179]
      
      I don't want to backport this to 2.2.2, because it could break
      existing code that has developed a work-around.  Code in 2.2.2 that
      wants to use __ipow__ and wants to be forward compatible with 2.3
      should be written like this:
      
        def __ipow__(self, exponent, modulo=None):
            ...
      6e5680fc
  27. 14 Eki, 2002 1 kayıt (commit)