Request local objects now fail properly with a RuntimeError. This fixes #105

This commit is contained in:
Armin Ronacher 2010-08-07 13:02:53 +02:00
parent d17b6d738a
commit faa1c71e45
4 changed files with 26 additions and 5 deletions

View file

@ -11,6 +11,8 @@ Release date to be announced, codename to be selected
- Added :meth:`~flask.Flask.make_default_options_response`
which can be used by subclasses to alter the default
behaviour for `OPTIONS` responses.
- Unbound locals now raise a proper :exc:`RuntimeError` instead
of an :exc:`AttributeError`.
Version 0.6.1
-------------