From: Brian E. <bm...@vi...> - 2002-02-20 18:15:37
|
Anyone tried ":" (compound statements) with Bablok's readline (version 0.7.0 on Linux)? Esc-Tab over Tab will take a little getting used to (especially since Tab itself in readline isn't all that useful), but readline apparently doesn't like the last blank line needed to terminate the statement... >>> if 1: ... print 1 ... Traceback (innermost last): (no code object) at line 0 File "<console>", line 3 null ^ SyntaxError: invalid syntax >>> Is this a known issue? Is there a workaround? I don't want to go back... |