Skip to content

urllib.request.urlopen() randomly fails with "Cannot allocate memory" on MacOS 14.6.1 / M3 #124939

@AnthoBalitrand

Description

@AnthoBalitrand

Bug report

Bug description:

Function called as this address
https://github.com/kevinsteves/pan-python/blob/614873e5fc8f4aabc05de0a0b3d6a46678e7299a/lib/pan/xapi.py#L528
randomly fails returning a "Errno 12] Cannot allocate memory" error.

Code was perfectly running on an Intel Mac, but is now randomly failing on MacBook Pro M3 running MacOS Sonoma 14.6.1 / Python 3.12.7.

CPython versions tested on:

3.12

Operating systems tested on:

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions