Guido van Rossum added the comment:

> * choose not to care, as the conversion looks rather rare

Yes.

> * incref the return value of _PyUnicode_AsDefaultEncodedString(),
> and convert the 20 or so places in which that function is used to
> properly decref the value when done

No. I suspect you'll find it quite difficult to pick a place where to do
the decref in some cases.

----------
status: open -> closed

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1651>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to