This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients gregory.p.smith, methane, pitrou, serhiy.storchaka, tim.peters
Date 2018-05-21.14:20:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526912411.07.0.682650639539.issue33589@psf.upfronthosting.co.za>
In-reply-to
Content
Make sense.

Then, what about using anonymous struct to make GC code more readable?

 typedef union _gc_head {
     struct {
         union _gc_head *gc_next;
         union _gc_head *gc_prev;
         Py_ssize_t gc_refs;
-    } gc;
+    };
     double dummy;  /* force worst-case alignment */
 } PyGC_Head;

All code like g->gc.gc_next will be like g->gc_next.
History
Date User Action Args
2018-05-21 14:20:11methanesetrecipients: + methane, tim.peters, gregory.p.smith, pitrou, serhiy.storchaka
2018-05-21 14:20:11methanesetmessageid: <1526912411.07.0.682650639539.issue33589@psf.upfronthosting.co.za>
2018-05-21 14:20:11methanelinkissue33589 messages
2018-05-21 14:20:11methanecreate