diff options
author | Tal Einat <taleinat@gmail.com> | 2017-11-03 09:09:00 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2017-11-03 09:09:00 (GMT) |
commit | 4f57409a2f7bdf8fb559cddc7c6533ca2c471c67 (patch) | |
tree | fe4ded27d3d8ade96a60a849ddce32c6facfbc6e /Misc | |
parent | 700d2e4755921d6c339ff20dacecde1aea64de34 (diff) | |
download | cpython-4f57409a2f7bdf8fb559cddc7c6533ca2c471c67.zip cpython-4f57409a2f7bdf8fb559cddc7c6533ca2c471c67.tar.gz cpython-4f57409a2f7bdf8fb559cddc7c6533ca2c471c67.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Build/2017-11-03-10-07-14.bpo-31926.57wE98.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2017-11-03-10-07-14.bpo-31926.57wE98.rst b/Misc/NEWS.d/next/Build/2017-11-03-10-07-14.bpo-31926.57wE98.rst new file mode 100644 index 0000000..2a42104 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2017-11-03-10-07-14.bpo-31926.57wE98.rst @@ -0,0 +1,2 @@ +Fixed Argument Clinic sometimes causing compilation errors when there was +more than one function and/or method in a .c file with the same name. |