Git Product home page Git Product logo

Comments (2)

vstinner avatar vstinner commented on June 13, 2024

Attached PR gh-116947 should help to discover heap types which don't implement traverse.

For example, the make command lists 52 heap types which don't implement tp_traverse:

  • _blake2.blake2b
  • _blake2.blake2s
  • _bz2.BZ2Compressor
  • _bz2.BZ2Decompressor
  • _curses_panel.panel
  • functools._lru_list_elem
  • _hashlib.HASH
  • _hashlib.HASHXOF
  • _hashlib.HMAC
  • _lzma.LZMACompressor
  • _lzma.LZMADecompressor
  • posix.DirEntry
  • posix.ScandirIterator
  • _random.Random
  • select.epoll
  • select.poll
  • _sha3.sha3_224
  • _sha3.sha3_256
  • _sha3.sha3_384
  • _sha3.sha3_512
  • _sha3.shake_128
  • _sha3.shake_256
  • _ssl.Certificate
  • _testcapi.HeapCType
  • _testcapi.HeapCTypeSetattr
  • _testcapi.HeapCTypeSubclass
  • _testcapi.HeapCTypeSubclassWithFinalizer
  • _testcapi.HeapCTypeWithBuffer
  • _testcapi.HeapCTypeWithDict
  • _testcapi.HeapCTypeWithDict2
  • _testcapi.HeapCTypeWithNegativeDict
  • _testcapi.HeapCTypeWithWeakref
  • _testcapi.HeapCTypeWithWeakref2
  • _testcapi.HeapDocCType
  • _testcapi.NullTpDocType
  • _testcapi._test_structmembersType_NewAPI
  • _testimportexec.Str
  • _testlimitedcapi.LimitedVectorCallClass
  • _thread._localdummy
  • _thread._ThreadHandle
  • _tkinter.Tcl_Obj
  • _tkinter.tkapp
  • _tkinter.tktimertoken
  • _tokenize.TokenizerIter
  • _xxinterpchannels.ChannelID
  • xxlimited_35.Null
  • xxlimited_35.Str
  • xxlimited.Str
  • _xxsubinterpreters.CrossInterpreterBufferView
  • zlib.Compress
  • zlib.Decompress
  • zlib._ZlibDecompressor

from cpython.

vstinner avatar vstinner commented on June 13, 2024

See also issue gh-116915 "test_capi leaks references" and PR gh-116934 "Make _thread._ThreadHandle support GC" which fix it.

from cpython.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.