[Python-bugs-list] [Bug #131225] sys.winver is still '2.0' in python 2.1a2

noreply@sourceforge.net noreply@sourceforge.net
Thu, 08 Feb 2001 23:08:28 -0800


Bug #131225, was updated on 2001-Feb-06 00:25
Here is a current snapshot of the bug.

Project: Python
Category: Windows
Status: Open
Resolution: Fixed
Bug Group: Platform-specific
Priority: 5
Submitted by: theller
Assigned to : mhammond
Summary: sys.winver is still '2.0' in python 2.1a2

Details: sys.winver is still '2.0' in python 2.1a2 although the registry
entries are stored under 2.1a2.

(Also the version resources, displayed when rightclicked in explorer, look
a little strange, but I dont't really care).

Follow-Ups:

Date: 2001-Feb-08 23:08
By: tim_one

Comment:
Marked Fixed, but left Open and reassigned to MarkH so he doesn't miss that
this changed.  Mark, review the change and gripe if appropriate!  Else just
close this bug.  PC/python_nt.rc rev 1.12.

Checkin comment:
SF bug #131225: sys.winver is still '2.0' in python 2.1a2.
SF patch #103683: Alternative dll version resources.
Changes similar to the patch.  MarkH should review.
File version and Product version text strings now 2.1a2.
64-bit file and product version numbers are now
    PY_MAJOR_VERSION, PY_MINOR_VERSION, messy, PYTHON_API_VERSION
where
    messy = PY_MICRO_VERSION*1000 + PY_RELEASE_LEVEL*10 +
PY_RELEASE_SERIAL
Updated company name to "Digital Creations 2".
Copyright now lists Guido; "C in a circle" symbol used instead of (C).
Comments added so this is less likely to get flubbed again, and #if/#error
guys added to trigger if the version number manipulations above overflow.
-------------------------------------------------------

Date: 2001-Feb-08 05:12
By: lhudson

Comment:
This is bit of a nasty one as it causes pywintypes20.dll and
pythoncom20.dll to be loaded instead of the 21 versions
(PyWin_FindRegisteredModule behaviour).

Patch #103683 fixes this problem.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=131225&group_id=5470