Antoine Pitrou <[email protected]> added the comment:

1. PyObject_Repr() should IMO be preferred (it's the abstract, high-level 
function).
2. You must check the result for NULL before calling PyString_AsString() on it.

----------

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14161>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to