Added missing comments, fixed setup.py and made tests pass

This commit is contained in:
Armin Ronacher 2010-07-04 11:35:20 +02:00
parent dd59d7241d
commit 4f8ee8f129
10 changed files with 103 additions and 12 deletions

View file

@ -1,10 +1,24 @@
# -*- coding: utf-8 -*-
"""
flask.ctx
~~~~~~~~~
Implements the objects required to keep the context.
:copyright: (c) 2010 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
from werkzeug.exceptions import HTTPException
from flask.wrappers import _RequestGlobals
from flask.globals import _request_ctx_stack
from flask.session import _NullSession
class _RequestGlobals(object):
pass
class _RequestContext(object):
"""The request context contains all request relevant information. It is
created at the beginning of the request and pushed to the