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 giampaolo.rodola
Recipients giampaolo.rodola
Date 2017-05-05.18:59:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494010795.37.0.519448367815.issue30286@psf.upfronthosting.co.za>
In-reply-to
Content
>>> import ctypes
>>> path = 'C:\\Python35-64\\vcruntime140.dll'
>>> cfile = ctypes.CDLL(path)
>>> cfile._handle
140736170229760
>>> ctypes.windll.kernel32.FreeLibrary(cfile._handle)
Traceback (most recent call last):
    ctypes.windll.kernel32.FreeLibrary(cfile._handle)
ctypes.ArgumentError: argument 1: <class 'OverflowError'>: int too long to convert

Everything is fine on 32-bit.
History
Date User Action Args
2017-05-05 18:59:55giampaolo.rodolasetrecipients: + giampaolo.rodola
2017-05-05 18:59:55giampaolo.rodolasetmessageid: <1494010795.37.0.519448367815.issue30286@psf.upfronthosting.co.za>
2017-05-05 18:59:55giampaolo.rodolalinkissue30286 messages
2017-05-05 18:59:55giampaolo.rodolacreate