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.
12 lines
258 B
12 lines
258 B
"""
|
|
categories: Modules,struct
|
|
description: Struct pack with too many args, not checked by uPy
|
|
cause: Unknown
|
|
workaround: Unknown
|
|
"""
|
|
import struct
|
|
try:
|
|
print(struct.pack('bb', 1, 2, 3))
|
|
print('Should not get here')
|
|
except:
|
|
print('struct.error')
|
|
|