Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • P Pyston
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Boxiang Sun
  • Pyston
  • Repository
  • Pyston
  • src
  • capi
  • typeobject.cpp
Find file BlameHistoryPermalink
  • Boxiang Sun's avatar
    If type->tp_getattr is not NULL, don't set has_getattribute to False · 76b2870f
    Boxiang Sun authored Jun 27, 2016
    In Pyston, has_getattribute got set if __getattribute__ is overridden,
    but only tp_getattro is supposed to set __getattribute__ and tp_getattr
    will not set it. So add a check to update_one_slot, if type->tp_getattr
    is not NULL, don't set has_getattribute to False.
    76b2870f
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7