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
    Initialize the base class in PyType_Ready if it not get initialzied. · 2c79c3fb
    Boxiang Sun authored Jun 07, 2016
    CPython has this check. I think Pyston missed it when switch to the
    CPython way of handling some inheritance functionality.
    
    References:
    CPython code:
    https://github.com/python/cpython/blob/2.7/Objects/typeobject.c#L4074
    Pyston commit that switch to the CPython way of handling it:
    https://github.com/dropbox/pyston/commit/251f417abd68c4b018217ae3b1901b3f1687384d#diff-a5cc3ff8c761716ba33b328ad1d042dfR1499
    
    And also add an extension for test.
    2c79c3fb
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7