This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Henning.von.Bargen
Recipients Andreas.Richter, Henning.von.Bargen, loewis, terry.reedy, zach.ware
Date 2014-09-27.22:05:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411855515.9.0.330843283568.issue22139@psf.upfronthosting.co.za>
In-reply-to
Content
Martin, while I technically understand your anwers, I have to say that from an ordinary developer's perspective, the behavior is actually *not* expected.

It may be expected for python-dev experts, but not for those who are just programming _with_ python.

It did cost me half a day to find out what's going on. Luckily, this happened on an internal development machine and not while installing the application on one of our customer's machine.

IIRC earlier versions of python did not install a python2*.* ZIP or DLL into %WINDIR%\System32.

It should at least be documented that installing two different 2.7.x releases on the same machine is not supported.

Furthermore, the technical difference between "install for all users" and "install just for me" is not clear.

As you said, the docs do not even mention that after an installation "for all users" the system uses %WINDIR%\System32\python2x.zip for searching libraries.

For a developer it is not obvious that hmac is built in while other standard libs (implemented in pure Python) are not.

BTW, if it was built-in (technically), then it could not be not found, as it happened to Andreas and me.
Fool-proof built-in would mean: statically linked with the executable, not in a DLL.

I recommend to keep things as is, but add a few sentences to the docs.
History
Date User Action Args
2014-09-27 22:05:15Henning.von.Bargensetrecipients: + Henning.von.Bargen, loewis, terry.reedy, zach.ware, Andreas.Richter
2014-09-27 22:05:15Henning.von.Bargensetmessageid: <1411855515.9.0.330843283568.issue22139@psf.upfronthosting.co.za>
2014-09-27 22:05:15Henning.von.Bargenlinkissue22139 messages
2014-09-27 22:05:15Henning.von.Bargencreate