Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 675
    • Issues 675
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

April 05-07 - Mercurial Paris Conference 2023 - One day of workshop dedicated to Heptapod and Mercurial usage and workflow. There are still places available for both workshops and talks!

  • PyPyPyPy
  • pypypypy
  • Merge requests
  • !508

Missing tp new

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Bitbucket Importer requested to merge branch/missing-tp_new into branch/default Jan 15, 2017
  • Overview 1
  • Commits 51
  • Pipelines 0
  • Changes 11

Created originally on Bitbucket by mattip

Improve mixing app-level classes in c-extensions, especially if the app-level class has a tp_new or tp_dealloc.

c-extensions expect all the method slots to be filled with a function pointer, where app-level will lookup following the mro for an appropriate function at runtime.

With this branch we now fill many more slots in the c-extenion type objects. Also:

  • fix for c-extension type that calls tp_hash during initialization (str, unicode types)

  • fix instantiating c-extension types from built-in classes by enforcing an order of instaniation.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: branch/missing-tp_new