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 vstinner
Recipients larry, methane, serhiy.storchaka, vstinner
Date 2017-01-27.10:16:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485512206.43.0.0257577541372.issue29300@psf.upfronthosting.co.za>
In-reply-to
Content
> The converter for the format parameter already exists. It is cache_struct(). You just need to change its interface.

The code to convert the format string is in s_init(). The code increases the reference counter, I don't see how to produce the Py_DECREF() code.

Again, I would prefer to do that later. The change is already big enough :-)


> I think this should be backported to older versions.

Ok, will do once this change is accepted.
History
Date User Action Args
2017-01-27 10:16:46vstinnersetrecipients: + vstinner, larry, methane, serhiy.storchaka
2017-01-27 10:16:46vstinnersetmessageid: <1485512206.43.0.0257577541372.issue29300@psf.upfronthosting.co.za>
2017-01-27 10:16:46vstinnerlinkissue29300 messages
2017-01-27 10:16:46vstinnercreate