summaryrefslogtreecommitdiffstats
path: root/Python/getversion.c
Commit message (Collapse)AuthorAgeFilesLines
* bpo-43931: Export Python version as API data (GH-25577)Gabriele N. Tornetta2021-12-101-0/+3
| | | | | 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
* bpo-32150: Expand tabs to spaces in C files. (#4583)Serhiy Storchaka2017-11-281-4/+4
|
* Remove trailing whitespace.Georg Brandl2010-07-311-1/+1
|
* Use PyOS_snprintf instead of sprintf.Jeremy Hylton2001-11-281-2/+2
|
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-011-9/+0
| | | | This should match the situation in the 1.6b1 tree.
* Mass ANSIfication of function definitions. Doesn't cover all 'extern'Thomas Wouters2000-07-221-1/+1
| | | | declarations yet, those come later.
* Change copyright notice - 2nd try.Guido van Rossum2000-06-301-6/+0
|
* Change copyright notice.Guido van Rossum2000-06-301-22/+7
|
* Allow longer strings (up to 80 chars each) for version, build,Guido van Rossum1999-04-221-2/+2
| | | | compiler info.
* Patches by William Lewis for Nextstep descendants.Guido van Rossum1999-01-271-2/+2
|
* Use PY_VERSION instead of PATCHLEVEL.Guido van Rossum1999-01-031-1/+2
|
* Make it return a _const_ char*.Guido van Rossum1997-07-191-3/+0
|
* get build info from elsewhereGuido van Rossum1997-01-201-9/+2
|
* New permission notice, includes CNRI.Guido van Rossum1996-10-251-13/+20
|
* grand renaming; added copyright to some filesGuido van Rossum1996-05-281-3/+27
|
* set date to oct 13Guido van Rossum1995-10-121-1/+1
|
* include Python.hGuido van Rossum1995-09-181-0/+2
|
* Initial revisionGuido van Rossum1995-08-041-0/+21