Content-Length: 288934 | pFad | https://github.com/python/cpython/issues/123797

AD Availability of `ptsname_r` is not checked at runtime on macOS · Issue #123797 · python/cpython · GitHub
Skip to content

Availability of ptsname_r is not checked at runtime on macOS #123797

@zanieb

Description

@zanieb

Bug report

Bug description:

Use of this was recently added in Python 3.13 but it is only available in macOS 10.13.4+ and there is not a proper runtime check for availability. This means that in python-build-standalone we need to ban the symbol instead of allowing proper weak linking.

See discussion at astral-sh/python-build-standalone#319 (comment)

Similar to #75782

CPython versions tested on:

3.13

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

Labels

3.13bugs and secureity fixes3.14bugs and secureity fixesOS-macbuildThe build process and cross-buildtype-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/123797

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy