New submission from Serhiy Storchaka:

Argument Clinic generates multiple definitions in non-block mode for functions 
with alternating signature. See example file. If FOO is not defines, 
SPAM_METHODDEF is defined twice.

First time in:

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

Second time in:

#if !defined(FOO)
...
#define SPAM_METHODDEF    \

----------
components: Build, Demos and Tools
messages: 236403
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Argument Clinic: multiple macro definition
type: behavior
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23500>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to