IDEA-CR-65209: PY-43134 Add debugger binaries for Python 3.9 beta
authorAndrey Lisin <andrey.lisin@jetbrains.com>
Thu, 13 Aug 2020 10:08:52 +0000 (13:08 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Thu, 13 Aug 2020 10:25:45 +0000 (10:25 +0000)
commit08a26f6788072b107569de8ff7a855e847667b50
treedd9f5629c9fe6f3df54da3acaf2af44a34a6e288
parent3818586b6fbea64825527f4121b3713f1ea51a2c
IDEA-CR-65209: PY-43134 Add debugger binaries for Python 3.9 beta

Because of changes in the Python frame evaluation API, particularly in the `_PyEval_EvalFrameDefault` function signature, new Cython modules and C files for Python 3.9 were added. Note that Python 3.9 frame evaluation binaries built from the C files have the '_py39' suffix, e.g. 'pydevd_frame_evaluator_py39', and we explicitly check the Python version while importing them. This is done to avoid changing the extension build scripts that rely on `pyx` file name and target binary name - otherwise, it would be hard to use the current build workflow when more than one possible `pyx` file available.

(cherry picked from commit 61015a7ae8b8d6780e3aff6aa480f5b02952d4fa)

GitOrigin-RevId: fcf44e51d67456f54da5d643f7cbd41069461484
64 files changed:
python/build/build-debug-binaries/src/build.gradle
python/helpers/pydev/_pydevd_bundle/pydevd_additional_thread_info_regular.py
python/helpers/pydev/_pydevd_bundle/pydevd_cython.c
python/helpers/pydev/_pydevd_bundle/pydevd_cython.pyx
python/helpers/pydev/_pydevd_bundle/pydevd_cython_darwin_27_64.so
python/helpers/pydev/_pydevd_bundle/pydevd_cython_darwin_35_64.cpython-35m-darwin.so
python/helpers/pydev/_pydevd_bundle/pydevd_cython_darwin_36_64.cpython-36m-darwin.so
python/helpers/pydev/_pydevd_bundle/pydevd_cython_darwin_37_64.cpython-37m-darwin.so
python/helpers/pydev/_pydevd_bundle/pydevd_cython_darwin_38_64.cpython-38-darwin.so
python/helpers/pydev/_pydevd_bundle/pydevd_cython_darwin_39_64.cpython-39-darwin.so [new file with mode: 0755]
python/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_27_32.pyd
python/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_27_64.pyd
python/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_35_32.cp35-win32.pyd
python/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_35_64.cp35-win_amd64.pyd
python/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_36_32.cp36-win32.pyd
python/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_36_64.cp36-win_amd64.pyd
python/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_37_32.cp37-win32.pyd
python/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_37_64.cp37-win_amd64.pyd
python/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_38_32.cp38-win32.pyd
python/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_38_64.cp38-win_amd64.pyd
python/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_39_32.cp39-win32.pyd [new file with mode: 0644]
python/helpers/pydev/_pydevd_bundle/pydevd_cython_win32_39_64.cp39-win_amd64.pyd [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/internal_pycore.h [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pycore_pystate.h [deleted file]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_eval_cython_wrapper.py
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator.c
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator.pxd
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator.pyx
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.c [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cp36-win32.pyd [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cp36-win_amd64.pyd [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cp37-win32.pyd [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cp37-win_amd64.pyd [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cp38-win32.pyd [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cp38-win_amd64.pyd [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cp39-win32.pyd [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cp39-win_amd64.pyd [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cpython-36m-darwin.so [new file with mode: 0755]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cpython-37m-darwin.so [new file with mode: 0755]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cpython-38-darwin.so [new file with mode: 0755]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.cpython-39-darwin.so [new file with mode: 0755]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.pxd [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_common.pyx [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_darwin_36_64.cpython-36m-darwin.so
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_darwin_37_64.cpython-37m-darwin.so
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_darwin_38_64.cpython-38-darwin.so
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_darwin_39_64.cpython-39-darwin.so [new file with mode: 0755]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_py39.c [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_py39.pxd [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_py39.pyx [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_win32_36_32.cp36-win32.pyd
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_win32_36_64.cp36-win_amd64.pyd
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_win32_37_32.cp37-win32.pyd
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_win32_37_64.cp37-win_amd64.pyd
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_win32_38_32.cp38-win32.pyd
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_win32_38_64.cp38-win_amd64.pyd
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_win32_39_32.cp39-win32.pyd [new file with mode: 0644]
python/helpers/pydev/_pydevd_frame_eval/pydevd_frame_evaluator_win32_39_64.cp39-win_amd64.pyd [new file with mode: 0644]
python/helpers/pydev/build_tools/build.py
python/helpers/pydev/build_tools/build_binaries_osx.py
python/helpers/pydev/build_tools/build_binaries_windows.py
python/helpers/pydev/setup.py
python/helpers/pydev/setup_cython.py
python/setup-test-environment/build.gradle