File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,6 +129,11 @@ and classes for traversing abstract syntax trees:
129129 Parse the source into an AST node. Equivalent to ``compile(source,
130130 filename, mode, ast.PyCF_ONLY_AST) ``.
131131
132+ .. warning ::
133+ It is possible to crash the Python interpreter with a
134+ sufficiently large/complex string due to stack depth limitations
135+ in Python's AST compiler.
136+
132137
133138.. function :: literal_eval(node_or_string)
134139
@@ -142,6 +147,11 @@ and classes for traversing abstract syntax trees:
142147 capable of evaluating arbitrarily complex expressions, for example involving
143148 operators or indexing.
144149
150+ .. warning ::
151+ It is possible to crash the Python interpreter with a
152+ sufficiently large/complex string due to stack depth limitations
153+ in Python's AST compiler.
154+
145155
146156.. function :: get_docstring(node, clean=True)
147157
You can’t perform that action at this time.
0 commit comments