New submission from Tal Einat <talei...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue31926>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to