in certain circumstances. (Apparently, this is a CPython problem.)
\indexii{slicing}{assignment}
\end{itemize}
-
+
(In the current implementation, the syntax for targets is taken
to be the same as for expressions, and invalid syntax is rejected
during the code generation phase, causing less detailed error
\bifuncindex{eval}
\bifuncindex{globals}
\bifuncindex{locals}
+
+Also, in the current implementation, multi-line compound statements must
+end with a newline:
+\code{exec "for v in seq:\e{}n\e{}tprint v\e{}n"} works, but
+\code{exec "for v in seq:\e{}n\e{}tprint v"} fails with
+\exception{SyntaxError}.
+\exindex{SyntaxError}
+
+