Martin v. Löwis wrote: >> I keep Py_UNICODE* pointers into this PyUnicodeObject in my iterator >> object, and I access these pointers on subsequent calls to my next() >> method. Is this an error? The more I think about it the more convinced >> I am it's an error. > > Because the pointer may change? There is a (silent) promise that for > a given PyUnicodeObject, the Py_UNICODE* will never change.
Right, it's the pointer changing that I'm worried about. Should I not bother with changing my code, then? _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com