On 3/28/2022 5:44 PM, Jason Ansel via Python-Dev wrote:
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?
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,
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 -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/JS7YMJGEWCY5PBF4ATMZPWXVY6PYLPKK/
Code of Conduct: http://python.org/psf/codeofconduct/