[issue25621] ast.literal_eval() fails on docstrings

2015-11-13 Thread Maxime Chambreuil
New submission from Maxime Chambreuil: ast.literal_eval fails when there is docstrings in the file. I used the file attached and this code in our CI server: def is_installable_module(path): """return False if the path doesn't contain an installable odoo module, an

[issue25621] ast.literal_eval() fails on docstrings

2015-11-13 Thread Maxime Chambreuil
Maxime Chambreuil added the comment: If I remove the docstrings on the first line, ast.literal_eval() does not fail. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i