Python 2.7.2 for Windows reports version as 2.7.0?

Ethan Furman ethan at stoneleaf.us
Sat Jun 18 10:24:53 EDT 2011


[re-posting to list]

python at bdurham.com wrote:
> Within the folder where the python.exe exists, I have tried the 
> following, all of which report Python 2.7.0 vs. 2.7.2

> Confirming I'm running what I think I'm running:
> 
>>>> import sys
>>>> sys.hexversion
> 34013424
>>>> sys.executable
> 'C:\\Python27\\python.exe'

This is what I get (just installed 2.7.2):
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.hexversion
34013936
>>> sys.version
'2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]'
>>> sys.executable
'C:\\Python27\\python.exe'

So our hex versions are different.

> 
> And confirming the exe files in my Python27 folder:
> 
>  Directory of C:\Python27
> 
> 06/12/2011  03:09 PM            26,624 python.exe
> 06/12/2011  03:06 PM            27,136 pythonw.exe

  Directory of C:\Python27

06/12/2011  03:09 PM            26,624 python.exe
06/12/2011  03:06 PM            27,136 pythonw.exe

Wow -- this part matches up.

> Anyone else having the same experience?

Not I.  Given that our hexversion numbers are different, I think you
don't have the current 2.7.2.

~Ethan~




More information about the Python-list mailing list