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
  • test
  • tests
  • intmethods.py
Find file BlameHistoryPermalink
  • Kevin Modzelewski's avatar
    Unfortunately int.__new__(cls) does not always return an instance of cls · ed4536df
    Kevin Modzelewski authored Jan 08, 2015
    If cls is int, and the argument has an __int__ method that returns
    a subclass of int (that is not an int), then int.__new__ will return
    that.
    
    Will need to make the typeCall rewriting criteria tighter.
    ed4536df
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7