~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4679.3.20.

  • Committer: John Arbash Meinel
  • Date: 2009-09-10 20:14:50 UTC
  • mto: (4679.6.1 2.1-export-c-api)
  • mto: This revision was merged to the branch mainline in revision 4735.
  • Revision ID: john@arbash-meinel.com-20090910201450-opufy4lpfyqovzkf
Implement tp_traverse, and add a soft dependency on meliae to test it.

Basically, gc.get_referents doesn't use tp_traverse if the object isn't being
tracked. Which is ok, but not what we want here.
Key isn't in GC because it is overkill for something that can never have
cyclical references.
So I implemented a get_referents in meliae that ignores IS_GC.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: