ansible/changelogs/fragments/fix_expression_as_filename_in_compile.yaml
Oldřich Jedlička ec55a221f6
Do not pretend expression is filename in compile() Python built-in call (#73113)
When calling compile(), the filename argument should be either a real file
name or a string. According to Python docs, suggested one is '<string>'.
 Keep the current behaviour (encapsulate the actual expression), 
but enclose it into angle brackets.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
2021-01-19 12:20:26 -05:00

4 lines
184 B
YAML

bugfixes:
- Pass expression in angle-bracket notation as filename argument to a
``compile()`` built-in function, so that Python debuggers do not try to
parse it as filename.