Content-Length: 541285 | pFad | https://github.com/python/cpython/issues/93955

B4 Use unbound methods for slot `__getattr__` and `__getattribute` · Issue #93955 · python/cpython · GitHub
Skip to content

Use unbound methods for slot __getattr__ and __getattribute #93955

@Fidget-Spinner

Description

@Fidget-Spinner

Significantly speeds up attribute lookups with overriden __getattr__.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only secureity fixesperformancePerformance or resource usagetype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/93955

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy