[Python-bugs-list] [ python-Feature Requests-514532 ] Add "eu#" parser marker

noreply@sourceforge.net noreply@sourceforge.net
Thu, 07 Feb 2002 13:39:16 -0800


Feature Requests item #514532, was opened at 2002-02-07 13:39
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=514532&group_id=5470

Category: Unicode
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: M.-A. Lemburg (lemburg)
Assigned to: M.-A. Lemburg (lemburg)
Summary: Add "eu#" parser marker

Initial Comment:
As requested by Jack Janssen:
"""
Recently, "M.-A. Lemburg" <mal@lemburg.com> said:
> How about this: we add a wchar_t codec to Python and the "eu#" parser
> marker. Then you could write:
> 
>       wchar_t value = NULL;
>       int len = 0;
>       if (PyArg_ParseTuple(tuple, "eu#", "wchar_t", &value, &len) < 0)
>                 return NULL;

I like it!
"""

The parser marker should return Py_UNICODE* instead of char* and work much like "et#" does now for 
strings.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=514532&group_id=5470