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 tmick
Recipients
Date 2000-06-07.03:19:12
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
*** Ignore the last comment, that is not what this patch does at all. Rather: ***

Fix PC/msvcrtmodule.c and PC/winreg.c for Win64. Basically:

- sizeof(HKEY) > sizeof(long) on Win64, so use PyLong_FromVoidPtr() instead of
  PyInt_FromLong() to return HKEY values on Win64

- Check for string overflow of an arbitrary registry value (I know that
  ensuring that a registry value does not overflow 2**31 characters seems
  ridiculous but it is *possible*).
History
Date User Action Args
2007-08-23 14:59:31adminlinkissue400517 messages
2007-08-23 14:59:31admincreate