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
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • cython
  • Repository
  • cython
  • Cython
  • Utility
  • ModuleSetupCode.c
Find file BlameHistoryPermalink
  • scoder's avatar
    Allow None to coerce to C types separately from other object values. (GH-4740) · ad24a17c
    scoder authored Apr 18, 2022
    This is used by some optimisations for builtins that call C-API functions directly but need to convert None arguments to NULL or special integer values in order to mimic the original Python interface.
    
    Also add and backport the CPython macros for None checks (and True/False, while we're at it):
    https://docs.python.org/3/c-api/structures.html#c.Py_Is
    
    Closes https://github.com/cython/cython/issues/4737
    See https://github.com/cython/cython/issues/4706
    ad24a17c
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7