]> granicus.if.org Git - python/commit
bpo-31926: fix missing *_METHODDEF statements by argument clinic (#4230)
authorTal Einat <taleinat@gmail.com>
Fri, 3 Nov 2017 09:09:00 +0000 (11:09 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 3 Nov 2017 09:09:00 +0000 (11:09 +0200)
commit4f57409a2f7bdf8fb559cddc7c6533ca2c471c67
treefe4ded27d3d8ade96a60a849ddce32c6facfbc6e
parent700d2e4755921d6c339ff20dacecde1aea64de34
bpo-31926: fix missing *_METHODDEF statements by argument clinic (#4230)

When a single .c file contains several functions and/or methods with
the same name, a safety _METHODDEF #define statement is generated
only for one of them.

This fixes the bug by using the full name of the function to avoid
duplicates rather than just the name.
Misc/NEWS.d/next/Build/2017-11-03-10-07-14.bpo-31926.57wE98.rst [new file with mode: 0644]
Modules/clinic/zlibmodule.c.h
Modules/zlibmodule.c
Tools/clinic/clinic.py