Marc-Andre Lemburg <m...@egenix.com> added the comment:

Konstantin Zemlyak wrote:
> 
> Konstantin Zemlyak <z...@zartsoft.ru> added the comment:
> 
> Win2003 x64, VS2008, vanilla python 2.7rc1 amd64 from python.org.
> Building python packages with C extensions works fine. Tested on simplejson, 
> jinja2 (with enabled speedups) and PIL.

I assume that you built without the patch applied. Does it also work
with the patch ?

This is the relevant section from the KB article:

"""
When you install a new program or when you run a program on a Windows x64 
Edition computer, registry
calls made by 64-bit programs access the HKEY_LOCAL_MACHINE\Software registry 
sub key without
redirection. WOW64 intercepts registry calls to HKEY_LOCAL_MACHINE\Software 
that are made by 32-bit
programs, and then redirects them to the 
HKEY_LOCAL_MACHINE\Software\WOW6432node sub key.
"""

Since VS2008 is a 32-bit application, the registry keys are written
to the HKEY_LOCAL_MACHINE\Software\WOW6432node branch.

64-bit applications such as Python AMD64 don't see this indirection,
so they have to explicitly look in that branch to find VS2008 settings.

I checked the registry on the machine and indeed the VS2008 keys are
only available under the HKEY_LOCAL_MACHINE\Software\WOW6432node branch.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8854>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to