Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upfeature_python3 - not compatible with Python 3.8 #16560
Comments
|
Thank you for using Kodi and our issue tracker. This is your friendly Kodi GitHub bot It seems that you have not followed the template we provide and require for all bug reports (or have opened a roadmap item by accident). Please understand that following the template is mandatory and required for the team to be able handle the volume of open issues efficiently. Please edit your issue message to follow our template and make sure to fill in all fields appropriately. The issue will be closed after one week has passed without satisfactory follow-up from your side. This is an automatically generated message. If you believe it was sent in error, please say so and a team member will remove the "Ignored rules" label. |
|
Please remove the "Ignored rules" label. |
This comment was marked as spam.
This comment was marked as spam.
|
Thanks @ronie
However I'd prefer not to have this closed since it is not really fixed and it will bite us again when they stop installing the internal headers
|
Bug report
Describe the bug
Here is a clear and concise description of what the problem is:
xbmc/interfaces/python/PythonInvoker.cpp
There are a three references in the file above to the private interfaces of PyInterpreterState.
Example:
Python 3.8 has finally removed the public interfaces to PyInterpreterState. The C documentation has always stated that there were never any public interfaces but projects such as Kodi used them anyway.
Announcement:
https://mail.python.org/pipermail/python-dev/2019-February/156344.html
Bug tracker to request a public interface:
https://bugs.python.org/issue35886
Possible Fix
Work with upstream to create a real public interface.
Workaround:
Adding the following to the top of PythonInvoker.cpp will expose the structs again.
Your Environment
Used Operating system:
Android
iOS
Linux
OSX
Raspberry-Pi
Windows
Windows UWP
Operating system version/name:
Kodi version: 18.4 / 19.x