can i examine the svn rev used to build a python 3 executable?

Robert P. J. Day rpjday at crashcourse.ca
Tue Jan 19 10:32:31 EST 2010


On Tue, 19 Jan 2010, Robert P. J. Day wrote:

>   i'm currently checking out python3 from the svn repo, configuring,
> building and installing under /usr/local/bin on my fedora 12 system,
> all good.
>
>   i'm curious, though -- is there a query i can make of that
> executable that would tell me what svn rev it was built from?  i'm
> guessing not, but i thought i'd ask.

  never mind.  just discovered that while "python3 -V" won't do it,
executing it gives me:

$ python3
Python 3.2a0 (py3k:77609, Jan 19 2010, 04:10:16)
...

and it's that 77609 rev number i was after.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================



More information about the Python-list mailing list