[Python-Dev] Expose Subversion revision number to Python

Fredrik Lundh fredrik at pythonware.com
Fri Dec 16 11:30:27 CET 2005


Armin Rigo wrote:
> What about having instead:
>> sys.build_info = ("CPython", <svn rev>, "trunk")
>> This would make it clear that it's the CPython svn rev number, and it
> could possibly be used to distinguish between branches, too, which the
> revision number alone cannot do. ("trunk" is the last part of the path
> returned by "svn info".)

+1
</F>


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /