On 2018-07-13 08:05 AM, Peter Otten wrote:
> D'Arcy Cain wrote:
>> Nope.  Both are 64 bit.
> 
> Just to be 100% sure, what does
> 
> $ python2.7 -c 'import struct; print(struct.calcsize("l"))'
> 
> $ python3.6 -c 'import struct; print(struct.calcsize("l"))'
> 
> print? 

$ python2.7 -c 'import struct; print(struct.calcsize("l"))'
8
$ python3.6 -c 'import struct; print(struct.calcsize("l"))'
8

> If both print 8, what is sys.platform? (This is just that I can look at the 
> right branch of the ctypes.util source for differences)?

$ python2.7 -c 'import sys; print(sys.platform)'
netbsd7
$ python3.6 -c 'import sys; print(sys.platform)'
netbsd7

Thanks for checking this.

-- 
D'Arcy J.M. Cain
Vybe Networks Inc.
http://www.VybeNetworks.com/
IM:da...@vex.net VoIP: sip:da...@vybenetworks.com
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to