Marc-Andre Lemburg <m...@egenix.com> added the comment:

Arnaud Fontaine wrote:
> 
> Arnaud Fontaine <ar...@debian.org> added the comment:
> 
> I meant whether it returns a new reference or not. For instance, 
> documentation for PyUnicode_FromObject() and PyUnicode_AsWideChar() states 
> that a new reference is returned, but this is not specified for most 
> functions in Unicode Object (at least).

Patches are welcome !

FWIW: Unless otherwise noted, all Unicode APIs that return a PyObject*
give you a new reference.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8269>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to