[Python-bugs-list] [ python-Bugs-470040 ] ParseTuple t# vs subclasses
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 10 Oct 2001 15:51:16 -0700
Bugs item #470040, was opened at 2001-10-10 15:51
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=470040&group_id=5470
Category: Type/class unification
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Peters (tim_one)
Assigned to: Tim Peters (tim_one)
Summary: ParseTuple t# vs subclasses
Initial Comment:
Part of the problem in bug 468061 is that
PyArg_ParseTuple's 't#' format rejects objects that
are of a str subclass. Apparently that in turn is
because the latter don't have
Py_TPFLAGS_HAVE_GETCHARBUFFER.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=470040&group_id=5470