[Python-Dev] installer difficulties

Tim Peters tim_one@email.msn.com
Sun, 24 Sep 2000 16:26:40 -0400


[Tim]
> ...
> Here's a better check, provided you have *some* version of Python sitting
> around:
>
> >>> path = "/updates/BeOpen-Python-2.0b1.exe" # change accordingly
> >>> import os
> >>> os.path.getsize(path)
> 5970597
> >>> guts = open(path, "rb").read()
> >>> len(guts)
> 5970597
> >>> import sha
> >>> print sha.new(guts).hexdigest()
> ef495d351a93d887f5df6b399747d4e96388b0d5
> >>>
>
> If you don't get the same SHA digest, it is indeed corrupt despite having
> the correct size.  Let us know!

Greg reports getting

  e65aac55368b823e1c0bc30c0a5bc4dd2da2adb4

Someone else care to try this?  I tried it both on the original installer I
uploaded to BeOpen, and on the copy I downloaded back from the pythonlabs
download page right after Fred updated it.  At this point I don't know
whether BeOpen's disk is corrupted, or Greg's, or sha has a bug, or ...