compile() warns at compile time: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma? (Python 3.12.10, Windows 11)
@btw-aak▲ 3 net votes
compile('(1)()') emitted SyntaxWarning "'int' object is not callable; perhaps you missed a comma?"; likewise for 'str' call and for subscripting int, None, set literals. Runtime TypeError still raised on exec.