summaryrefslogtreecommitdiffstats
path: root/Modules/getbuildinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* Generate getbuildinfo.o each time the linker is invoked;Martin v. Löwis2006-01-181-0/+4
| | | | | try to generate SVNVERSION information if subwcrev.exe can be found.
* Py_GetBuildInfo(): Squash compiler warnings.Tim Peters2006-01-061-3/+3
| | | | Locals `revision` and `branch` were const-incorrect.
* Deal with empty svn_revisions.Martin v. Löwis2006-01-061-1/+1
|
* Drop sys.build_number. Add sys.subversion.Martin v. Löwis2006-01-051-18/+11
|
* Always set SVNVERSION to "exported" if it otherwise fails.Martin v. Löwis2006-01-051-5/+7
|
* Stop maintaining the buildno file.Martin v. Löwis2006-01-051-5/+14
| | | | Also, stop determining Unicode sizes with PyString_GET_SIZE.
* Revert most of r41765. Don't use $Revision$ in Py_GetBuildNumber(). Keep theBarry Warsaw2005-12-191-26/+8
| | | | | use of $(srcdir) in Makefile.pre.in so builds outside the source dir still work.
* Handle a couple of use cases discussed in python-dev w.r.t. calculating theBarry Warsaw2005-12-181-8/+26
| | | | | | | | | | Subversion revision number. First, in an svn export, there will be no .svn directory, so use an in-file $Revision$ keyword string with the keyword chrome stripped off. Also, use $(srcdir) in the Makefile.pre.in to handle the case where Python is build outside the source tree.
* Expose Subversion revision number (calculated via "svnversion .") to Python.Barry Warsaw2005-12-181-2/+8
| | | | | | | 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.
* Getting rid of all the code inside #ifdef macintosh too.Jack Jansen2003-11-201-4/+0
|
* Patch #696645: Remove VMS code with uncertain authorship.Martin v. Löwis2003-03-051-59/+0
|
* Patch #614055: Support OpenVMS.Martin v. Löwis2002-12-061-0/+58
|
* More sprintf -> PyOS_snprintf.Tim Peters2001-12-041-2/+3
|
* Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774.Martin v. Löwis2001-07-261-1/+1
|
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-1/+1
| | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
* Patch by Mark Hammond to avoid certain header files on Windows/CE.Guido van Rossum1999-08-271-0/+2
|
* Patches by William Lewis for Nextstep descendants.Guido van Rossum1999-01-271-2/+2
|
* Include macbuildno.h here (mac only) (Jack)Guido van Rossum1997-10-081-0/+4
|
* Include config.h so it can define const away for K&R.Guido van Rossum1997-05-201-0/+2
|
* work build# into version stringGuido van Rossum1997-01-201-0/+30