Skip to content

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

Closed
@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 security fixes3.14bugs and security 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