[Python-Dev] Counting references to Py_None (original) (raw)
Alexander Belopolsky alexander.belopolsky at gmail.com
Mon Mar 21 18:35:40 EDT 2016
- Previous message (by thread): [Python-Dev] Counting references to Py_None
- Next message (by thread): [Python-Dev] PEP 484: a "NewType" constructor
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message (by thread): [Python-Dev] Counting references to Py_None
- Next message (by thread): [Python-Dev] PEP 484: a "NewType" constructor
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]