HAVE_PROTOTYPES macro should be restored
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- build-system
Research direction
Start by examining commit e4f7327c to find where HAVE_PROTOTYPES was removed and how CPython exposes related build macros. Check the build configuration and tests covering generated headers or macros; reproduce the Pillow build failure if practical. Done means the macro is restored and the relevant build checks pass.
Written by the indexing model from the issue text.
Description
Bug report
The HAVE_PROTOTYPES macro disappeared recently (commit e4f7327c). While it's not used in Python proper, it seems to be used by some third-party packages. Removing it seems short-sighted. Without it, the pillow package fails to build, because it requires ANSI prototypes and no longer thinks Python provides them.
CPython versions tested on:
3.16
Operating systems tested on:
macOS
- Dominant language
- Python
- Stars
- 77.8k
- Forks
- 37.7k
- Avg merge
- 11h 25m
- Merged PRs (30d)
- 723
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from python/cpython
-
Null dereferencing of a pointer in initconfig.cPossibly taken @lazerg claimed this 1 day ago. Openinterpreter-core topic-C-API type-bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
python/cpython#160962 · 4 comments ·
Maintainers usually reply within 1 day
-
tests topic-profiling type-bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
python/cpython#160881 · 1 comment ·
Maintainers usually reply within 1 day
-
dependencies infra topic-ensurepip
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
symtable: repr() of a Symbol raises TypeError under -X lazy_imports=allPossibly taken @anistark claimed this 2 days ago. Openstdlib topic-lazy-imports type-bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
python/cpython#160810 · 4 comments ·
Maintainers usually reply within 1 day
-
tarfile: extractfile(member).read() of a sparse member is slow due to repeated bytes concatenationPossibly taken @devdavidejesus claimed this 2 days ago. Openperformance stdlib triaged type-bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
python/cpython#160774 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
namespace operations
Difficulty 1/5 Under an hour Newbie friendliness 65/100
EclipseFdn/open-vsx.org#15057 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
FinanceFlash/unvibecode#349 ·
-
Mission statement: why this is free, in the README, Why This Exists and the wiki HomePossibly taken @ChiefGyk3D claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ChiefGyk3D/Clouds-Against-Humanity#348 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
vllm-project/vime#508 ·
Maintainers usually reply within 4 days