Author: christian.heimes
Date: Mon Jan  7 22:04:21 2008
New Revision: 59845

Modified:
   python/branches/py3k/Include/unicodeobject.h
Log:
Always define Py_USING_UNICODE, 3rd party software may depend on it. A missing 
declaration can lead to strange bugs as I had to learn the hard way in the 
upcoming merge

Modified: python/branches/py3k/Include/unicodeobject.h
==============================================================================
--- python/branches/py3k/Include/unicodeobject.h        (original)
+++ python/branches/py3k/Include/unicodeobject.h        Mon Jan  7 22:04:21 2008
@@ -58,6 +58,9 @@
 
 /* --- Internal Unicode Format -------------------------------------------- */
 
+/* Python 3.x requires unicode */
+#define Py_USING_UNICODE 
+
 /* FIXME: MvL's new implementation assumes that Py_UNICODE_SIZE is
    properly set, but the default rules below doesn't set it.  I'll
    sort this out some other day -- [EMAIL PROTECTED] */
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to