[Python-checkins] CVS: python/dist/src/Doc/ext extending.tex,1.11,1.12

M.-A. Lemburg lemburg@users.sourceforge.net
Wed, 09 Jan 2002 08:21:29 -0800


Update of /cvsroot/python/python/dist/src/Doc/ext
In directory usw-pr-cvs1:/tmp/cvs-serv11966/Doc/ext

Modified Files:
	extending.tex 
Log Message:
Fixed "u#" parser marker to pass through Unicode objects as-is without
going through the buffer interface API.

Added tests for this to the _testcapi module and updated docs.



Index: extending.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ext/extending.tex,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** extending.tex	2001/12/07 17:57:56	1.11
--- extending.tex	2002/01/09 16:21:27	1.12
***************
*** 670,673 ****
--- 670,675 ----
  This variant on \samp{u} stores into two C variables, the first one
  a pointer to a Unicode data buffer, the second one its length.
+ Non-Unicode objects are handled by interpreting their read buffer
+ pointer as pointer to a Py_UNICODE array.
  
  \item[\samp{es} (string, Unicode object or character buffer compatible