We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b717598 commit 11593ccCopy full SHA for 11593cc
mautrix/util/manhole.py
@@ -76,7 +76,13 @@ class StatefulCommandCompiler(codeop.CommandCompiler):
76
def __init__(self) -> None:
77
super().__init__()
78
self.compiler = functools.partial(
79
- compile, optimize=1, flags=ast.PyCF_ONLY_AST | codeop.PyCF_DONT_IMPLY_DEDENT
+ compile,
80
+ optimize=1,
81
+ flags=(
82
+ ast.PyCF_ONLY_AST
83
+ | codeop.PyCF_DONT_IMPLY_DEDENT
84
+ | codeop.PyCF_ALLOW_INCOMPLETE_INPUT
85
+ ),
86
)
87
self.buf = BytesIO()
88
0 commit comments