This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: [2.7] Expose Py_TabcheckFlag as other PyAPI_DATA flag
Type: enhancement Stage: resolved
Components: Build, Interpreter Core Versions: Python 2.7
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: egaudry, vstinner
Priority: normal Keywords: patch

Created on 2019-10-21 09:46 by egaudry, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
tab.diff egaudry, 2019-10-21 09:46 patch for exposing Py_TabcheckFlag to CPython extensions
Messages (5)
msg355035 - (view) Author: egaudry (egaudry) * Date: 2019-10-21 09:46
When looking at the pydebug.h header file, I see that some symbols are not declared as exported.

For instance, I would like to be able to change the value of the Py_TabcheckFlag when running specific codelines.
Any chance this patch could be added ?
msg355050 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-10-21 11:14
Py_TabcheckFlag has been removed from Python 3. This issue is specific to Python 2.7.
msg355052 - (view) Author: egaudry (egaudry) * Date: 2019-10-21 11:20
closing as this no real point in making something available in an EOL branch.
msg355054 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-10-21 11:24
Right, Python 2.7 support is ending at the end of the year. Python 2.7 got 18 releases without Py_TabcheckFlag, you're the first to request it.

You should consider to upgrade to Python 3 and have a look at my PEP 587 "Python Initialization Configuration" ;-)
msg355070 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-10-21 13:42
Python 2.7 doesn't accept new features anymore. The issue has been closed.
History
Date User Action Args
2022-04-11 14:59:21adminsetgithub: 82724
2019-10-21 13:42:26vstinnersetresolution: wont fix
messages: + msg355070
2019-10-21 11:24:18vstinnersetmessages: + msg355054
2019-10-21 11:20:12egaudrysetstatus: open -> closed

messages: + msg355052
stage: resolved
2019-10-21 11:14:08vstinnersettitle: Expose Py_TabcheckFlag as other PyAPI_DATA flag -> [2.7] Expose Py_TabcheckFlag as other PyAPI_DATA flag
nosy: + vstinner

messages: + msg355050

versions: + Python 2.7, - Python 3.7, Python 3.8, Python 3.9
components: + Build
2019-10-21 09:46:20egaudrycreate