[New-bugs-announce] [issue46748] Python.h includes stdbool.h
report at bugs.python.org
Mon Feb 14 04:28:19 EST 2022
New submission from Petr Viktorin <encukou at gmail.com>:
In main, cpython/pystate.h newly includes stdbool.h, providing a definition for `bool` that might be incompatible with other software.
See here: https://github.com/cmusphinx/sphinxbase/pull/90
Eric, is this necessary? Would an old-school `int` do?
Or should we say it's 2022 already and everyone needs to use stdbool.hfore bools?
nosy: eric.snow, petr.viktorin
title: Python.h includes stdbool.h
versions: Python 3.11
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce