Mishandled _POSIX_C_SOURCE and _XOPEN_SOURCE in pyconfig.h

Open
#61,322 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Start by examining pyconfig.h and the handling of _POSIX_C_SOURCE and _XOPEN_SOURCE described in the issue. Review the linked BPO issue and its discussion for the expected behavior, then identify an existing compile check or test entry point. Done means the macros are handled correctly across the affected Python 3.9–3.11 configurations.

Written by the indexing model from the issue text.

Description

3.13 3.14 3.15 build stdlib
BPO 17120
Nosy @loewis, @vstinner, @koobs, @iritkatriel

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2013-02-04.05:39:07.814>
labels = ['build', 'library', '3.9', '3.10', '3.11']
title = 'Mishandled _POSIX_C_SOURCE and _XOPEN_SOURCE in pyconfig.h'
updated_at = <Date 2021-12-12.19:07:28.318>
user = 'https://bugs.python.org/RAW'

bugs.python.org fields:

activity = <Date 2021-12-12.19:07:28.318>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2013-02-04.05:39:07.814>
creator = 'RAW'
dependencies = []
files = []
hgrepos = []
issue_num = 17120
keywords = []
message_count = 8.0
messages = ['181309', '183910', '185248', '226849', '241328', '400445', '400563', '400614']
nosy_count = 5.0
nosy_names = ['loewis', 'vstinner', 'koobs', 'RAW', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue17120'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

Dominant language
Python
Stars
77.2k
Forks
36k
Avg merge
1d 9h
Merged PRs (30d)
558

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python/cpython

All issues in python/cpython

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.