You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
317 B
10 lines
317 B
# test memoryview accessing maximum values for signed/unsigned elements
|
|
try:
|
|
from array import array
|
|
memoryview
|
|
except:
|
|
print("SKIP")
|
|
raise SystemExit
|
|
|
|
print(list(memoryview(array('i', [0x7f000000, -0x80000000]))))
|
|
print(list(memoryview(array('I', [0x7f000000, 0x80000000, 0x81000000, 0xffffffff]))))
|
|
|