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 gousaiyang
Recipients christian.heimes, gousaiyang, miss-islington, pablogsal, steve.dower, vstinner, zkonge
Date 2021-03-11.23:08:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615504116.26.0.696327096348.issue43439@roundup.psfhosted.org>
In-reply-to
Content
There is a minor issue here. For gc.get_referrers and gc.get_referents, probably the format code for PySys_Audit should be "(O)" instead of "O". Typically the tuple `args` passed to the hook functions are fixed-length as described in the audit events table. Here `objs` itself is a tuple (containing variable-length arguments) and directly passed to the audit hook with being wrapped by another layer of tuple. If the hook function is to receive a variable-length tuple, probably the documentation should be updated to mention this.
History
Date User Action Args
2021-03-11 23:08:36gousaiyangsetrecipients: + gousaiyang, vstinner, christian.heimes, steve.dower, pablogsal, miss-islington, zkonge
2021-03-11 23:08:36gousaiyangsetmessageid: <1615504116.26.0.696327096348.issue43439@roundup.psfhosted.org>
2021-03-11 23:08:36gousaiyanglinkissue43439 messages
2021-03-11 23:08:36gousaiyangcreate