Content-Length: 279759 | pFad | https://github.com/python/cpython/issues/145307

95 Lazily load psapi.dll in ctypes · Issue #145307 · python/cpython · GitHub
Skip to content

Lazily load psapi.dll in ctypes #145307

@zooba

Description

@zooba

Bug report

Importing ctypes.util will load psapi.dll on Windows eagerly, which isn't necessary until the actual function that needs it is called. We should make it load lazily.

Linked PRs

Metadata

Metadata

Assignees

Labels

OS-windowsperformancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directorytopic-ctypestype-bugAn unexpected behavior, bug, or error

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/145307

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy