New submission from Ronny Pfannschmidt <ronny.pfannschm...@gmail.com>:

$ python3.2  -c 'import 
ast;compile(ast.parse(open("testing/test_keymap.py").read()), "test", "exec")'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
TypeError: AST string must be of type str

note that just compiling the source works fine

----------
files: test_keymap.py
messages: 147401
nosy: Ronny.Pfannschmidt
priority: normal
severity: normal
status: open
title: compile fails to compile a ast module object giving a incomprehensible 
error
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file23652/test_keymap.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13381>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to