Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • C cython
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • nexedinexedi
  • cython
  • Repository
You need to sign in or sign up before continuing.
  • cython
  • Cython
  • Compiler
  • ModuleNode.py
Find file BlameHistoryPermalink
  • Torsten Landschoff's avatar
    Add decorator @gc_no_clear to disable tp_clear slot. · 73ba98cc
    Torsten Landschoff authored Aug 02, 2013
    This can be useful if some external objects have to be cleaned up when
    the Python object dies. Otherwise the cyclic garbage collector may
    drop the references before the cleanup has any chance to run.
    
    Includes documentation and a simple unit test.
    
    Discussion: http://article.gmane.org/gmane.comp.python.cython.devel/14986
    73ba98cc
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7