[Python-checkins] r41929 - in python/trunk: Doc/lib/libsys.tex Include/patchlevel.h Include/pythonrun.h Modules/getbuildinfo.c Python/sysmodule.c
Reinhold Birkenfeld
reinhold-birkenfeld-nospam at wolke7.net
Fri Jan 6 20:28:33 CET 2006
Fixed.
Reinhold
Jim Jewett wrote:
> minor typo -- " the a " -> " a "
>
>> + \var{branch} is the a string of one of the forms \code{'trunk'},
>
> On 1/5/06, martin.v.loewis <python-checkins at python.org> wrote:
>> Author: martin.v.loewis
>> Date: Fri Jan 6 00:38:54 2006
>> New Revision: 41929
>>
>> Modified:
>> python/trunk/Doc/lib/libsys.tex
>> python/trunk/Include/patchlevel.h
>> python/trunk/Include/pythonrun.h
>> python/trunk/Modules/getbuildinfo.c
>> python/trunk/Python/sysmodule.c
>> Log:
>> Drop sys.build_number. Add sys.subversion.
>>
>>
>> Modified: python/trunk/Doc/lib/libsys.tex
>> ==============================================================================
>> --- python/trunk/Doc/lib/libsys.tex (original)
>> +++ python/trunk/Doc/lib/libsys.tex Fri Jan 6 00:38:54 2006
>> @@ -27,10 +27,19 @@
>> \versionadded{2.0}
>> \end{datadesc}
>>
>> -\begin{datadesc}{build_number}
>> - A string representing the Subversion revision that this Python executable
>> - was built from. This number is a string because it may contain a trailing
>> - 'M' if Python was built from a mixed revision source tree.
>> +\begin{datadesc}{subversion}
>> + A triple (repo, branch, version) representing the Subversion
>> + information of the Python interpreter.
>> + \var{repo} is the name of the repository, \code{'CPython'}.
>> + \var{branch} is the a string of one of the forms \code{'trunk'},
>> + \code{'branches/name'} or \code{'tags/name'}.
>> + \var{version} is the output of \code{svnversion}, if the
>> + interpreter was built from a Subversion checkout; it contains
>> + the revision number (range) and possibly a trailing 'M' if
>> + there were local modifications. If the tree was exported
>> + (or svnversion was not available), it is the revision of
>> + \code{Include/patchlevel.h} if the branch is a tag. Otherwise,
>> + it is \code{None}.
>> \versionadded{2.5}
>> \end{datadesc}
--
Mail address is perfectly valid!
More information about the Python-checkins
mailing list