]> granicus.if.org Git - python/commit
[3.6] bpo-31926: fix missing *_METHODDEF statements by argument clinic (GH-4230)...
authorTal Einat <taleinat@gmail.com>
Fri, 3 Nov 2017 13:43:13 +0000 (15:43 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 3 Nov 2017 13:43:13 +0000 (06:43 -0700)
commitf8b3f6b178e48773cd7298141cbaf408c6917e41
tree8d19fc8ac85315173c01f8f674abcc168d90459c
parent019c99f325287741d1e0eefeef2b75c8e00b884f
[3.6] bpo-31926: fix missing *_METHODDEF statements by argument clinic (GH-4230) (#4253)

When a single .c file contains several functions and/or methods with
the same name, a safety _METHODDEF GH-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..
(cherry picked from commit 4f57409a2f7bdf8fb559cddc7c6533ca2c471c67)
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