diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-01-05 23:38:54 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-01-05 23:38:54 (GMT) |
commit | 43b57805fbc9b500f0b4239fd925868b26475f35 (patch) | |
tree | a51376847084539e13d75a840924da91864def77 /Include | |
parent | 2b47445234bd44b1382cc434c408a390eb4aa07e (diff) | |
download | cpython-43b57805fbc9b500f0b4239fd925868b26475f35.zip cpython-43b57805fbc9b500f0b4239fd925868b26475f35.tar.gz cpython-43b57805fbc9b500f0b4239fd925868b26475f35.tar.bz2 |
Drop sys.build_number. Add sys.subversion.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/patchlevel.h | 3 | ||||
-rw-r--r-- | Include/pythonrun.h | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Include/patchlevel.h b/Include/patchlevel.h index 58ba053..2904fb6 100644 --- a/Include/patchlevel.h +++ b/Include/patchlevel.h @@ -28,6 +28,9 @@ /* Version as a string */ #define PY_VERSION "2.5a0" +/* Subversion Revision number of this file (not of the repository) */ +#define PY_PATCHLEVEL_REVISION "$Revision$" + /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2. Use this for numeric comparisons, e.g. #if PY_VERSION_HEX >= ... */ #define PY_VERSION_HEX ((PY_MAJOR_VERSION << 24) | \ diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 6cf33d8..5c78cce 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -108,7 +108,9 @@ PyAPI_FUNC(const char *) Py_GetPlatform(void); PyAPI_FUNC(const char *) Py_GetCopyright(void); PyAPI_FUNC(const char *) Py_GetCompiler(void); PyAPI_FUNC(const char *) Py_GetBuildInfo(void); -PyAPI_FUNC(const char *) Py_GetBuildNumber(void); +PyAPI_FUNC(const char *) _Py_svnversion(void); +PyAPI_FUNC(const char *) Py_SubversionRevision(void); +PyAPI_FUNC(const char *) Py_SubversionShortBranch(void); /* Internal -- various one-time initializations */ PyAPI_FUNC(PyObject *) _PyBuiltin_Init(void); |