[New-bugs-announce] [issue31926] compile error when converting selectmodule to AC due to missing #define-s

Tal Einat report at bugs.python.org
Thu Nov 2 11:13:55 EDT 2017


New submission from Tal Einat <taleinat at gmail.com>:

I'm converting Modules/selectmodule.c.h as part of issue #20182.

After converting the code and running Tools/clinic/clinic.py, compilation is failing on Windows due to the following block *not* being generated by in the Modules/clinic/selectmodule.c.h file:

#ifndef SELECT_POLL_METHODDEF
    #define SELECT_POLL_METHODDEF
#endif /* !defined(SELECT_POLL_METHODDEF) */

Adding the block manually fixes the issue.

This seems to be caused by a bug in clinic.py. Attaching PR fix a fix immediately.

----------
components: Argument Clinic
messages: 305427
nosy: larry, taleinat
priority: normal
severity: normal
status: open
title: compile error when converting selectmodule to AC due to missing #define-s
type: compile error
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31926>
_______________________________________


More information about the New-bugs-announce mailing list