diff --git a/VERSION b/VERSION index 9c52a51b..1a43b807 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.1.0 (2012-10-10 12:20:21) dev +Version 2.1.0 (2012-10-10 15:15:45) dev diff --git a/gluon/cache.py b/gluon/cache.py index 31ca647a..80fcabae 100644 --- a/gluon/cache.py +++ b/gluon/cache.py @@ -46,6 +46,19 @@ class CacheAbstract(object): Main function is now to provide referenced api documentation. Use CacheInRam or CacheOnDisk instead which are derived from this class. + + Attentions, Michele says: + + There are signatures inside gdbm files that are used directly + by the python gdbm adapter that often are lagging behind in the + detection code in python part. + On every occasion that a gdbm store is probed by the python adapter, + the probe fails, because gdbm file version is newer. + Using gdbm directly from C would work, because there is backward + compatibility, but not from python! + The .shelve file is discarded and a new one created (with new + signature) and it works until it is probed again... + The possible consequences are memory leaks and broken sessions. """ cache_stats_name = 'web2py_cache_statistics'