Project

General

Profile

Bug #1777

Correct processing of some headers to generate appropriate header variants

Added by Nandini Bansal about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
10/21/2021
Due date:
% Done:

0%

Estimated time:
2.50 h

Description

It was observed in the C-API book that header variants are being generated inappropriately for some headers like "int (getbufferproc) (pyobject\xa0, py_buffer\xa0*, int)". We need to find the reason for the same and make sure that the correct variants are generated.

For e.g.
HEADER -> Current Header Variant -> Expected Header Variant
int (getbufferproc) (pyobject\xa0, py_buffer\xa0*, int) -> int -> getbufferproc

Adding a screenshot of all the headers for which wrong header variants are being generated.


Files

Also available in: Atom PDF