Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7909

Re: Python 2.7.2 for Windows reports version as 2.7.0?

Date 2011-06-18 07:24 -0700
From Ethan Furman <ethan@stoneleaf.us>
Subject Re: Python 2.7.2 for Windows reports version as 2.7.0?
References <1308358550.17680.1464439673@webmail.messagingengine.com> <BANLkTimLcJNV2+P8HVRoYPRDJihu7oP1yw@mail.gmail.com> <1308368168.21764.1464464325@webmail.messagingengine.com>
Newsgroups comp.lang.python
Message-ID <mailman.120.1308407165.1164.python-list@python.org> (permalink)

Show all headers | View raw


[re-posting to list]

python@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~

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python 2.7.2 for Windows reports version as 2.7.0? Ethan Furman <ethan@stoneleaf.us> - 2011-06-18 07:24 -0700

csiph-web