[Checkins] SVN: Sandbox/malthe/chameleon.core/ Changed generation.marker back to a normal object instance. Otherwise we get PicklingError: Can't pickle <class 'chameleon.core.generation.marker'>: it's not the same object as chameleon.core.generation.marker.
Hanno Schlichting
plone at hannosch.info
Wed Nov 19 14:33:20 EST 2008
Log message for revision 93146:
Changed generation.marker back to a normal object instance. Otherwise we get PicklingError: Can't pickle <class 'chameleon.core.generation.marker'>: it's not the same object as chameleon.core.generation.marker.
Changed:
U Sandbox/malthe/chameleon.core/CHANGES.txt
U Sandbox/malthe/chameleon.core/src/chameleon/core/generation.py
-=-
Modified: Sandbox/malthe/chameleon.core/CHANGES.txt
===================================================================
--- Sandbox/malthe/chameleon.core/CHANGES.txt 2008-11-19 19:30:04 UTC (rev 93145)
+++ Sandbox/malthe/chameleon.core/CHANGES.txt 2008-11-19 19:33:20 UTC (rev 93146)
@@ -4,6 +4,10 @@
HEAD
~~~~
+- Changed generation.marker back to a normal object instance. Otherwise we get
+ PicklingError: Can't pickle <class 'chameleon.core.generation.marker'>:
+ it's not the same object as chameleon.core.generation.marker. [hannosch]
+
- Changed two isinstance checks to check for basestring instead of str or
unicode. [hannosch]
Modified: Sandbox/malthe/chameleon.core/src/chameleon/core/generation.py
===================================================================
--- Sandbox/malthe/chameleon.core/src/chameleon/core/generation.py 2008-11-19 19:30:04 UTC (rev 93145)
+++ Sandbox/malthe/chameleon.core/src/chameleon/core/generation.py 2008-11-19 19:33:20 UTC (rev 93146)
@@ -27,7 +27,7 @@
def __nonzero__(self):
return False
-marker = marker()
+marker = object()
def fast_translate(msgid, domain=None, mapping=None, context=None,
target_language=None, default=None):
More information about the Checkins
mailing list