1 SUSPECT #1
import json
json.loads(b"\xff\xfe") Traceback (most recent call last):
File "lineup.py", line 2, in <module>
json.loads(b"\xff\xfe")
~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/lib/python3.11/json/__init__.py", line 341, in loads
s = s.decode(detect_encoding(s), 'surrogatepass')
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) 2 SUSPECT #2
import array
a = array.array("q", [1.5]) Traceback (most recent call last):
File "lineup.py", line 2, in <module>
a = array.array("q", [1.5])
~~~~~~~~~~~^^^^^^^^^^^^
TypeError: 'float' object cannot be interpreted as an integer 3 SUSPECT #3
x = complex("1+2i")
print(x) Traceback (most recent call last):
File "lineup.py", line 1, in <module>
x = complex("1+2i")
~~~~~~~^^^^^^^^
ValueError: complex() arg is a malformed string 4 SUSPECT #4
from decimal import Decimal
d = Decimal("1.5") + 0.1
print(d) Traceback (most recent call last):
File "lineup.py", line 2, in <module>
d = Decimal("1.5") + 0.1
~~~~~~~~~~~~~~~^~~~~
TypeError: unsupported operand type(s) for +: 'decimal.Decimal' and 'float' 5 SUSPECT #5
s = "Hello, {name}!"
print(s.format()) Traceback (most recent call last):
File "lineup.py", line 2, in <module>
print(s.format())
~~~~~~~~^^
IndexError: Replacement index 'name' out of range