[New-bugs-announce] [issue43931] Add the Python version to the API data.

Gabriele N Tornetta report at bugs.python.org
Sat Apr 24 10:37:54 EDT 2021


New submission from Gabriele N Tornetta <phoenix1987 at gmail.com>:

When Python is embedded in other applications, it is not easy to determine which version of Python is being used. This change exposes the Python version as part of the API data. Tools like Austin (https://github.com/P403n1x87/austin) can benefit from this data when targeting applications like uWSGI, as the Python version can then be inferred systematically by looking at the exported symbols rather than relying on unreliable pattern matching or other hacks (like remote code execution etc...).

----------
components: C API
messages: 391779
nosy: Gabriele Tornetta
priority: normal
severity: normal
status: open
title: Add the Python version to the API data.
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43931>
_______________________________________


More information about the New-bugs-announce mailing list