On Sat, Dec 14, 2002 at 12:36:11PM +0200, Niki Spahiev wrote:
> IMO PyString_CheckExact is Python 2.2 only.

Not only that, I was under the mistaken assumptions that I needed
PyString_CheckExact:

- to distinguish between Unicode and non-Unicode strings

- to filter subclasses of 'str' because PyString_AS_STRING wouldn't
  work

I've tested these cases (as I should have done in the first place) and
they both appear to work fine with plain PyString_Check.

Thanks!

-- 
=Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
metakit mailing list  -  [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit

Reply via email to