[Python-Dev] Setting frame evaluation function (i.e.:PyInterpreterState.frame_eval)

2019-10-16 Thread Fabio Zadrozny
Hi All, I'm trying to upgrade the pydevd debugger to the latest version of CPython (3.8), however I'm having some issues being able to access `PyInterpreterState.eval_frame` when compiling, so, I'd like to ask if someone can point me in the right direction. What I'm trying to do is compile someth

[Python-Dev] Re: How do I install Python 3.8.0 on Linux (not possible? no one is doing this?)

2019-10-16 Thread Charalampos Stratakis
- Original Message - > From: devloca...@gmail.com > To: python-dev@python.org > Sent: Wednesday, October 16, 2019 1:35:17 AM > Subject: [Python-Dev] How do I install Python 3.8.0 on Linux (not possible? > no one is doing this?) > > I cannot get Python 3.8.0 installed on Linux ( RHEL 8

[Python-Dev] Re: Setting frame evaluation function (i.e.:PyInterpreterState.frame_eval)

2019-10-16 Thread Victor Stinner
Hi Fabio, Right, the PyInterpreterState structure is now opaque. You need to include pycore_pystate.h which requires to define the Py_BUILD_CORE_MODULE macro. That's the internal C API which "should not be used", but it's ok to use it for very specific use cases, like debuggers. Maybe we should p

[Python-Dev] Re: Setting frame evaluation function (i.e.:PyInterpreterState.frame_eval)

2019-10-16 Thread Fabio Zadrozny
On Wed, Oct 16, 2019 at 11:14 AM Victor Stinner wrote: > Hi Fabio, > > Right, the PyInterpreterState structure is now opaque. You need to > include pycore_pystate.h which requires to define the > Py_BUILD_CORE_MODULE macro. That's the internal C API which "should > not be used", but it's ok to us

[Python-Dev] Re: Setting frame evaluation function (i.e.:PyInterpreterState.frame_eval)

2019-10-16 Thread Victor Stinner
Would you mind to open an issue at bugs.python.org? You can put me ("vstinner") in the nosy list. Victor Le mer. 16 oct. 2019 à 17:07, Fabio Zadrozny a écrit : > > > On Wed, Oct 16, 2019 at 11:14 AM Victor Stinner wrote: >> >> Hi Fabio, >> >> Right, the PyInterpreterState structure is now opaqu

[Python-Dev] Re: How official binaries are built?

2019-10-16 Thread Inada Naoki
Thank you for your response. And I'm sorry about ignoring this. Gmail marked it as spam. On Tue, Oct 15, 2019 at 6:20 PM Ned Deily wrote: > > We currently do not use those options to build the binaries for the > python.org macOS installers. The main reason is that the Pythons we provide > are