Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed deprecated and awkward flask.session module

  • Loading branch information...
commit 5e88c8184d19851c4ccc9a74595819bbe374e839 1 parent 05c6502
@mitsuhiko authored
Showing with 3 additions and 19 deletions.
  1. +3 −0  CHANGES
  2. +0 −19 flask/session.py
View
3  CHANGES
@@ -20,6 +20,9 @@ Release date to be decided.
- Added wrapper module around simplejson and added default serialization
of datetime objects. This allows much easier customization of how
JSON is handled by Flask or any Flask extension.
+- Removed deprecated internal ``flask.session`` module alias. Use
+ ``flask.sessions`` instead to get the session module. This is not to
+ be confused with ``flask.session`` the session proxy.
Version 0.9
-----------
View
19 flask/session.py
@@ -1,19 +0,0 @@
-# -*- coding: utf-8 -*-
-"""
- flask.session
- ~~~~~~~~~~~~~
-
- This module used to flask with the session global so we moved it
- over to flask.sessions
-
- :copyright: (c) 2011 by Armin Ronacher.
- :license: BSD, see LICENSE for more details.
-"""
-
-from warnings import warn
-warn(DeprecationWarning('please use flask.sessions instead'))
-
-from .sessions import SecureCookieSession, NullSession
-
-Session = SecureCookieSession
-_NullSession = NullSession
Please sign in to comment.
Something went wrong with that request. Please try again.