On Sun, Aug 07, 2005, Neil Schemenauer wrote: > On Sat, Aug 06, 2005 at 06:56:39PM -0700, Guido van Rossum wrote: >> >> My first response to the PEP, however, is that instead of a new >> built-in function, I'd rather relax the requirement that str() return >> an 8-bit string > > Do you have any thoughts on what the C API would be? It seems to me > that PyObject_Str cannot start returning a unicode object without a > lot of code breakage. I suppose we could introduce a function > called something like PyObject_String.
OTOH, should Guido change his -1 on text(), that leads to the obvious PyObject_Text. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The way to build large Python applications is to componentize and loosely-couple the hell out of everything. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com