Antoine Pitrou <pit...@free.fr> 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 <rep...@bugs.python.org> <http://bugs.python.org/issue14161> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com