[Python-Dev] Counting references to Py_None (original) (raw)

Alexander Belopolsky alexander.belopolsky at gmail.com
Mon Mar 21 18:35:40 EDT 2016


On Mon, Mar 21, 2016 at 5:56 PM, Tim Peters <tim.peters at gmail.com> wrote:

I've seen this trigger, from C code that had no idea it was playing with None, but just had general refcounting errors. So this does serve a debugging purpose, although rarely

You probably have a better refcounting sense that I do, but I see this quite often when I hack C code and I find this behavior quite useful when debugging. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160321/7ad53a5d/attachment.html>



More information about the Python-Dev mailing list