[Python-checkins] r88216 - peps/trunk/pep-0393.txt
martin.v.loewis
python-checkins at python.org
Thu Jan 27 22:16:50 CET 2011
Author: martin.v.loewis
Date: Thu Jan 27 22:16:50 2011
New Revision: 88216
Log:
Changes from David Malcolm: Clarify representation of
optional fields; add gdb section.
Modified:
peps/trunk/pep-0393.txt
Modified: peps/trunk/pep-0393.txt
==============================================================================
--- peps/trunk/pep-0393.txt (original)
+++ peps/trunk/pep-0393.txt Thu Jan 27 22:16:50 2011
@@ -83,7 +83,9 @@
All three representations are optional, although the str form is
considered the canonical representation which can be absent only
-while the string is being created.
+while the string is being created. If the representation is absent,
+the pointer is NULL, and the corresponding length field may contain
+arbitrary data.
The Py_UNICODE type is still supported but deprecated. It is always
defined as a typedef for wchar_t, so the wstr representation can double
@@ -165,6 +167,13 @@
None of the functions in this PEP become part of the stable ABI.
+GDB Debugging Hooks
+-------------------
+Tools/gdb/libpython.py contains debugging hooks that embed knowledge
+about the internals of CPython's data types, include PyUnicodeObject
+instances. It will need to be slightly updated to track the change.
+
+
Copyright
=========
More information about the Python-checkins
mailing list