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 Jorge Cisneros
Recipients Jorge Cisneros
Date 2017-03-08.21:08:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489007297.65.0.421023863942.issue29761@psf.upfronthosting.co.za>
In-reply-to
Content
In the linux version 2.7.12 the size of c_ulong and c_ulonglong is the same, that is not correct 

Python 2.7.12 (default, Mar  6 2017, 18:06:04)
[GCC 4.9.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ctypes import *
>>> print sizeof(c_ulong),sizeof(c_ulonglong)
8 8


Doing the same in Windows, the results are correct.

Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from ctypes import *
>>> print sizeof(c_ulong),sizeof(c_ulonglong)
4 8
>>>
History
Date User Action Args
2017-03-08 21:08:17Jorge Cisnerossetrecipients: + Jorge Cisneros
2017-03-08 21:08:17Jorge Cisnerossetmessageid: <1489007297.65.0.421023863942.issue29761@psf.upfronthosting.co.za>
2017-03-08 21:08:17Jorge Cisneroslinkissue29761 messages
2017-03-08 21:08:17Jorge Cisneroscreate