mirror of https://github.com/ansible/ansible.git
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>pull/73295/head
parent
e8d4b62b41
commit
ec55a221f6
@ -0,0 +1,4 @@
|
||||
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.
|
Loading…
Reference in New Issue