Skip to content

Commit 0dd9dc3

Browse files
committed
Fixed an issue with an unused module for Python 2.5 (flask.session)
1 parent 766522c commit 0dd9dc3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ Version 0.8.1
88

99
Bugfix release, release date to be decided
1010

11+
- Fixed an issue with the undocumented `flask.session` module to not
12+
work properly on Python 2.5. It should not be used but did cause
13+
some problems for package managers.
14+
1115
Version 0.8
1216
-----------
1317

flask/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from warnings import warn
1414
warn(DeprecationWarning('please use flask.sessions instead'))
1515

16-
from .sessions import *
16+
from .sessions import SecureCookieSession, NullSession
1717

1818
Session = SecureCookieSession
1919
_NullSession = NullSession

0 commit comments

Comments
 (0)