1. python_mirrors
  2. features/pep-3151


Victor Stinner  committed 78a2374

unicodeobject.c doesn't make output strings ready in debug mode

Try to only create non ready strings in debug mode to ensure that all functions
(not only in unicodeobject.c, everywhere) make input strings ready.

  • Participants
  • Parent commits a228e59
  • Branches default

Comments (0)

Files changed (1)

File Objects/unicodeobject.c

View file
  • Ignore whitespace
 #include <windows.h>
+#ifdef Py_DEBUG
 /* Limit for the Unicode object free list */
 #define PyUnicode_MAXFREELIST       1024