[EMAIL PROTECTED] schrieb: > If I want to check an object for stringedness in py3k do I use > PyString_Check or PyUnicode_Check?
In the medium term, you should use PyUnicode_Check. In the short term, additionally, do PyString_Check as well if you want to support str8 (your choice). In the long term, it might be that PyUnicode_Check gets renamed to PyString_Check, provided that str8 is removed from the code base. Regards, Martin _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
