[issue38542] [3.7] clean extern PyGC_Head *_PyGC_generation0; in Include/objimpl.h

2019-10-21 Thread egaudry
egaudry added the comment: I originally submitted an issue asking for having the symbol exported. But, as Victor mentioned, this part of the code was changed between 2.7 and 3.x. I then asked if the part of the code defining the symbol (and not used anymore) in 3.7 could be removed/cleaned.

[issue38542] [3.7] clean extern PyGC_Head *_PyGC_generation0; in Include/objimpl.h

2019-10-21 Thread Guido van Rossum
Guido van Rossum added the comment: If it's specific to 2.7, why does the Version metadata say 3.7? -- nosy: +gvanrossum ___ Python tracker ___

[issue38542] [3.7] clean extern PyGC_Head *_PyGC_generation0; in Include/objimpl.h

2019-10-21 Thread STINNER Victor
STINNER Victor added the comment: The master branch of Python doesn't contain _PyGC_generation0 anymore. > Yes, the only thing that remains to be done is cleaning objimpl.h. We don't do cleanup changes in stable branches. Only in the development branch: master. In this case, it's already

[issue38542] [3.7] clean extern PyGC_Head *_PyGC_generation0; in Include/objimpl.h

2019-10-21 Thread egaudry
egaudry added the comment: Yes, the only thing that remains to be done is cleaning objimpl.h. -- title: [2.7] Expose _PyGC_generation0 for allowing internal use directly from a CPython extension -> [3.7] clean extern PyGC_Head *_PyGC_generation0; in Include/objimpl.h versions: