changeset 1459:736c6b347e8e

add a comment about why we need to keep str keys
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 28 Jul 2012 23:25:34 +0200
parents e612c71d6338
children 707c7db1b645
files MoinMoin/constants/keys.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/constants/keys.py	Sat Jul 28 22:58:04 2012 +0200
+++ b/MoinMoin/constants/keys.py	Sat Jul 28 23:25:34 2012 +0200
@@ -5,6 +5,10 @@
 MoinMoin - meta data key / index field name related constants
 """
 
+# IMPORTANT: until we require a python >= 2.6.5, we need to keep the keys as
+#            str (not unicode), because of "Issue #4978: Passing keyword
+#            arguments as unicode strings is now allowed." (from 2.6.5 chglog)
+
 # metadata keys
 NAME = "name"
 NAME_OLD = "name_old"