Changes between Initial Version and Version 1 of Ticket #13086, comment 1
- Timestamp:
- Feb 23, 2017, 5:27:48 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13086, comment 1
initial v1 1 1 It seems old virtualenv is based on 32-bit python. 2 2 {{{#!python 3 Python 2.4.3 (#1, Jan 9 2013, 06:49:54) 4 [GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2 5 Type "help", "copyright", "credits" or "license" for more information. 3 >>> import sys 4 >>> sys.maxsize 5 2147483647 6 >>> import platform 7 >>> platform.architecture() 8 ('32bit', 'ELF') 6 9 >>> '%x' % abs(hash('Cool')) 7 10 '13fc52bf' … … 12 15 Use low 32-bit as signed integer to match stored hashed values in .poll file: 13 16 {{{#!python 17 >>> import sys 18 >>> sys.maxsize 19 9223372036854775807 20 >>> import platform 21 >>> platform.architecture() 22 ('64bit', 'ELF') 14 23 >>> '%08x' % abs(struct.unpack('>i', struct.pack('>I', hash('Crap') & 0xffffffff))[0]) 15 24 '73addc7c'