Skip to content
Myr

mark top-level names as exported

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

authored by David Lord · committed by David Lord · parent d906c71 · Browse files · 2 files+43 added−41 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+43 added−41 removed

  • other:+43 added−41 removed

2 files+43 added−41 removed

modified:src/flask/__init__.py+41 added-41 removed
1from markupsafe import escape2from markupsafe import Markup3from werkzeug.exceptions import abort4from werkzeug.utils import redirect3from werkzeug.exceptions import abort as abort4from werkzeug.utils import redirect as redirect56from . import json7from .app import Flask8from .app import Request9from .app import Response10from .blueprints import Blueprint11from .config import Config12from .ctx import after_this_request13from .ctx import copy_current_request_context14from .ctx import has_app_context15from .ctx import has_request_context16from .globals import _app_ctx_stack17from .globals import _request_ctx_stack18from .globals import current_app19from .globals import g20from .globals import request21from .globals import session22from .helpers import flash23from .helpers import get_flashed_messages24from .helpers import get_template_attribute25from .helpers import make_response26from .helpers import safe_join27from .helpers import send_file28from .helpers import send_from_directory29from .helpers import stream_with_context30from .helpers import url_for31from .json import jsonify32from .signals import appcontext_popped33from .signals import appcontext_pushed34from .signals import appcontext_tearing_down35from .signals import before_render_template36from .signals import got_request_exception37from .signals import message_flashed38from .signals import request_finished39from .signals import request_started40from .signals import request_tearing_down41from .signals import signals_available42from .signals import template_rendered43from .templating import render_template44from .templating import render_template_string6from . import json as json7from .app import Flask as Flask8from .app import Request as Request9from .app import Response as Response10from .blueprints import Blueprint as Blueprint11from .config import Config as Config12from .ctx import after_this_request as after_this_request13from .ctx import copy_current_request_context as copy_current_request_context14from .ctx import has_app_context as has_app_context15from .ctx import has_request_context as has_request_context16from .globals import _app_ctx_stack as _app_ctx_stack17from .globals import _request_ctx_stack as _request_ctx_stack18from .globals import current_app as current_app19from .globals import g as g20from .globals import request as request21from .globals import session as session22from .helpers import flash as flash23from .helpers import get_flashed_messages as get_flashed_messages24from .helpers import get_template_attribute as get_template_attribute25from .helpers import make_response as make_response26from .helpers import safe_join as safe_join27from .helpers import send_file as send_file28from .helpers import send_from_directory as send_from_directory29from .helpers import stream_with_context as stream_with_context30from .helpers import url_for as url_for31from .json import jsonify as jsonify32from .signals import appcontext_popped as appcontext_popped33from .signals import appcontext_pushed as appcontext_pushed34from .signals import appcontext_tearing_down as appcontext_tearing_down35from .signals import before_render_template as before_render_template36from .signals import got_request_exception as got_request_exception37from .signals import message_flashed as message_flashed38from .signals import request_finished as request_finished39from .signals import request_started as request_started40from .signals import request_tearing_down as request_tearing_down41from .signals import signals_available as signals_available42from .signals import template_rendered as template_rendered43from .templating import render_template as render_template44from .templating import render_template_string as render_template_string4546__version__ = "2.0.1.dev0"
modified:CHANGES.rst+2 added
6 unmodified lines
78- Re-add the ``filename`` parameter in ``send_from_directory``. The9 ``filename`` parameter has been renamed to ``path``, the old name10 is deprecated. :pr:`4019`11- Mark top-level names as exported so type checking understands12 imports in user projects. :issue:`4024`131415Version 2.0.016-------------
1096 unmodified lines