Mercurial > cpython-lru_cache-weakref
comparison Python/errors.c @ 36070:9697eeeaf246 legacy-trunk
Expose Subversion revision number (calculated via "svnversion .") to Python.
Add C API function Py_GetBuildNumber(), add it to the interactive prompt
banner (i.e. Py_GetBuildInfo()), and add it as the sys.build_number
attribute. The build number is a string instead of an int because it may
contain a trailing 'M' if there are local modifications.
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Sun, 18 Dec 2005 01:27:35 +0000 |
| parents | ed4dc05ea4b8 |
| children | 30aef3ce2b26 |
comparison
equal
deleted
inserted
replaced
| 36069:d0214bb1fd51 | 36070:9697eeeaf246 |
|---|
