Gabriele N. Tornetta
50669083fe
bpo-43931: Export Python version as API data ( GH-25577 )
...
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...).
Automerge-Triggered-By: GH:pablogsal
2021-12-09 17:52:05 -08:00
Serhiy Storchaka
598ceae876
bpo-32150: Expand tabs to spaces in C files. (#4583)
2017-11-28 17:56:10 +02:00
Georg Brandl
e87c0e1eaf
Remove trailing whitespace.
2010-07-31 19:29:15 +00:00
Jeremy Hylton
518ab1c02a
Use PyOS_snprintf instead of sprintf.
2001-11-28 20:42:20 +00:00
Guido van Rossum
8586991099
REMOVED all CWI, CNRI and BeOpen copyright markings.
...
This should match the situation in the 1.6b1 tree.
2000-09-01 23:29:29 +00:00
Thomas Wouters
f70ef4f860
Mass ANSIfication of function definitions. Doesn't cover all 'extern'
...
declarations yet, those come later.
2000-07-22 18:47:25 +00:00
Guido van Rossum
ffcc3813d8
Change copyright notice - 2nd try.
2000-06-30 23:58:06 +00:00
Guido van Rossum
fd71b9e9d4
Change copyright notice.
2000-06-30 23:50:40 +00:00
Guido van Rossum
eda232fdac
Allow longer strings (up to 80 chars each) for version, build,
...
compiler info.
1999-04-22 12:03:40 +00:00
Guido van Rossum
54ecc3d24f
Patches by William Lewis for Nextstep descendants.
1999-01-27 17:53:11 +00:00
Guido van Rossum
6e0a3499ab
Use PY_VERSION instead of PATCHLEVEL.
1999-01-03 12:41:50 +00:00
Guido van Rossum
8fb26ede51
Make it return a _const_ char*.
1997-07-19 19:48:41 +00:00
Guido van Rossum
554fa49500
get build info from elsewhere
1997-01-20 18:34:55 +00:00
Guido van Rossum
d266eb460e
New permission notice, includes CNRI.
1996-10-25 14:44:06 +00:00
Guido van Rossum
582646aecc
grand renaming; added copyright to some files
1996-05-28 22:30:17 +00:00
Guido van Rossum
6c066885f1
set date to oct 13
1995-10-12 00:48:18 +00:00
Guido van Rossum
020dfe7f2e
include Python.h
1995-09-18 21:40:19 +00:00
Guido van Rossum
667d704997
Initial revision
1995-08-04 04:20:48 +00:00