[python-win32] What happened to python26.dll?

Kevin Horn kevin.horn at gmail.com
Tue Dec 8 20:49:59 CET 2009


On Tue, Dec 8, 2009 at 11:48 AM, Tim Roberts <timr at probo.com> wrote:

>
> People need to know that, if you install the 32-bit Python on a 64-bit
> Windows system, the DLL will be installed in %windir%\SysWow64.  (Yes,
> 32-bit DLLs go in SysWow64, and 64-bit DLLs go in System32.  Really.)
> If you use a 64-bit tool to search for it, you would find it in SysWow64.
>
> BUT, in a 32-bit process, Windows does magic path redirection.  So, if
> you were to run os.walk in a 32-bit Python process, you would find
> python26.dll in %windir%\System32.  This can be incredibly confusing,
> since you can go out to a command line and do "dir
> \windows\system32\python26.dll" and it won't be there.
>
> This is, in my opinion, one of the things that Microsoft really botched
> in the 32-to-64 transition.
>
> --
> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
>
>
Ow.  I think my head just exploded.

Kevin Horn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20091208/2da93b95/attachment.htm>


More information about the python-win32 mailing list