[Python-checkins] r84317 - in python/branches/py3k: Misc/NEWS PC/pyconfig.h
daniel.stutzbach
python-checkins at python.org
Wed Aug 25 21:18:59 CEST 2010
Author: daniel.stutzbach
Date: Wed Aug 25 21:18:59 2010
New Revision: 84317
Log:
Issue 8781: Define SIZEOF_WCHAR_T on Windows
Modified:
python/branches/py3k/Misc/NEWS
python/branches/py3k/PC/pyconfig.h
Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Wed Aug 25 21:18:59 2010
@@ -12,6 +12,9 @@
Core and Builtins
-----------------
+- Issue #9684: Added a definition for SIZEOF_WCHAR_T to PC/pyconfig.h,
+ to match the pyconfig.h generated by configure on other systems.
+
- Issue #9666: Only catch AttributeError in hasattr(). All other exceptions that
occur during attribute lookup are now propagated to the caller.
Modified: python/branches/py3k/PC/pyconfig.h
==============================================================================
--- python/branches/py3k/PC/pyconfig.h (original)
+++ python/branches/py3k/PC/pyconfig.h Wed Aug 25 21:18:59 2010
@@ -721,6 +721,9 @@
/* Define if the compiler provides a wchar.h header file. */
#define HAVE_WCHAR_H 1
+/* The size of `wchar_t', as computed by sizeof. */
+#define SIZEOF_WCHAR_T 2
+
/* Define if you have the dl library (-ldl). */
/* #undef HAVE_LIBDL */
More information about the Python-checkins
mailing list