title: Flask on python3.3: "TypeError: AST identifier must be of type str"
body: <p>Hey stackoverflow community,</p>
  
  <p>i want to host a flask application on an old machine, where i don't have root access. The installed python version is python3.3. The OS is openSUSE 13.1. I have installed all the needed dependencies for my local user for example with  </p>
  
  <pre><code>pip install flask --user
  </code></pre>
  
  <p>The problem is, that i always get the following error message:</p>
  
  <pre><code>Python 3.3.5 (default, Mar 27 2014, 17:16:46) [GCC] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; from flask import Flask
  &gt;&gt;&gt; Flask("A")
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/srv/MrR/.local/lib/python3.3/site-packages/flask/app.py", line 541, in __init__
      view_func=self.send_static_file)
    File "/srv/MrR/.local/lib/python3.3/site-packages/flask/app.py", line 64, in wrapper_func
      return f(self, *args, **kwargs)
    File "/srv/MrR/local/lib/python3.3/site-packages/flask/app.py", line 1046, in add_url_rule
      self.url_map.add(rule)
    File "/srv/MrR/local/lib/python3.3/site-packages/werkzeug/routing.py", line 1401, in add
      rule.bind(self)
    File "/srv/MrR/.local/lib/python3.3/site-packages/werkzeug/routing.py", line 730, in bind
      self.compile()
    File "/srv/MrR/.local/lib/python3.3/site-packages/werkzeug/routing.py", line 794, in compile
      self._build = self._compile_builder(False).__get__(self, None)
    File "/srv/MrR/.local/lib/python3.3/site-packages/werkzeug/routing.py", line 964, in _compile_builder
      code = compile(module, "&lt;werkzeug routing&gt;", "exec")
  TypeError: AST identifier must be of type str
  
  </code></pre>
  
  <p>I found no helpful comment google or anything else. Flask should also be compatible with this version of python. Have you an idea, what the cause of the error might be?</p>