On 3/28/2022 5:44 PM, Jason Ansel via Python-Dev wrote:
I believe that you will just have to add a new or different #include statement. I recommend that you add a comment to the issue, https://bugs.python.org/issue46850,The PyTorch team plans to use PEP 523 as a part of PyTorch 2.0, so this proposal may break the next major release of PyTorch.The related project is TorchDynamo, which can be found here: https://github.com/facebookresearch/torchdynamo We will likely move this into the core of PyTorch closer to release. If the changed happens, would PyTorch still be able to use the eval frame API? Or would it prevent from being used entirely?
and even more, that you create a branch with the diffs in https://github.com/python/cpython/pull/32052 https://github.com/python/cpython/pull/32054 applied so that you can experiment and verify what I believe. -- Terry Jan Reedy _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/JS7YMJGEWCY5PBF4ATMZPWXVY6PYLPKK/ Code of Conduct: http://python.org/psf/codeofconduct/