Skip to content
Myr

Small cleanups

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent f4d8f85 · Browse files · 2 files+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−4 removed

  • other:+4 added−4 removed

2 files+4 added−4 removed

modified:flask/app.py+2 added-2 removed
361 unmodified lines
362 for code changes and show a debugger in case an exception happened.363364 .. admonition:: Keep in Mind365366 Flask will supress any server error with a generic error page366 Flask will suppress any server error with a generic error page367 unless it is in debug mode. As such to enable just the368 interactive debugger without the code reloading, you ahve to368 interactive debugger without the code reloading, you have to369 invoke :meth:`run` with ``debug=True`` and ``use_reloader=False``.370 Setting ``use_debugger`` to `True` without being in debug mode371 won't catch any exceptions because there won't be any to372 catch.
464 unmodified lines
modified:flask/helpers.py+2 added-2 removed
212 unmodified lines
213214 .. versionadded:: 0.2215216 .. versionadded:: 0.5217 The `add_etags`, `cache_timeout` and `conditional` parameters were added.218 The default behaviour is now to attach etags.217 The `add_etags`, `cache_timeout` and `conditional` parameters were218 added. The default behaviour is now to attach etags.219220 :param filename_or_fp: the filename of the file to send. This is221 relative to the :attr:`~Flask.root_path` if a222 relative path is specified.
144 unmodified lines