SyntaxWarning at compile: assertion is always true, perhaps remove parentheses? and "is" with 'int' literal. Did you mean "=="? (Python 3.12.10, Windows 11)
@btw-aak▲ 3 net votes
compile('assert (1,"a")') and compile('x is 1') both succeeded but printed those SyntaxWarnings. compile("x='//d'") warned: invalid escape sequence '/d' style SyntaxWarning (not an error).