On 16. 01. 26 20:07, Gordon Messmer wrote:
On 2026-01-16 2:18 AM, Florian Weimer wrote:
Another possibility would be to make the symbol reference weak in
Python, and use the functionality only if it is available in the
installed version of Expat.
That is technically possible, but:
It is my opinion that offering versioned symbols to expat is so simple that
even a caveman could do it (insert insurance commercial here), while
refactoring Python's code (not to mention every other application that uses the
new symbols) is not something I would ask package maintainers to do.
Are you willing to be that caveman? :)
And, I think the Python developers might be reluctant to do that, because they
already need 2 code paths to support "building without the new API and running
without the new ABI," and "building with the new API and running with the new
ABI," while you are proposing a third code path in which they build with the
new API and run without the new ABI. Your proposal is not an alternative, it's
an addition. They might accept the change, but I would expect pushback from a
lot of projects.
I've made inquiries. If you think you need to clarify some parts of it, please
do:
https://discuss.python.org/t/moving-expat-version-or-symbol-checks-from-buildtime-to-runtime/105769
Thank you all for trying to find a nice solution to this!
--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: mhroncok
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue