Segfault-Inc / Multicorn

Data Access Library
https://multicorn.org/
PostgreSQL License
700 stars 145 forks source link

Python 3.8 support #242

Closed stefanor closed 4 years ago

stefanor commented 4 years ago

https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build says:

To embed Python into an application, a new --embed option must be passed to python3-config --libs --embed to get -lpython3.8 (link the application to libpython). To support both 3.8 and older, try python3-config --libs --embed first and fallback to python3-config --libs (without --embed) if the previous command fails.

df7cb commented 4 years ago

This patch got applied to the Debian package, please merge it.

rdunklau commented 4 years ago

Thank you, I merged it with minor changes to deprecated functions