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 Jeffrey.Walton, pitrou, python-dev, serhiy.storchaka, vstinner
Date 2014-11-18.20:48:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416343731.26.0.762631222889.issue20948@psf.upfronthosting.co.za>
In-reply-to
Content
The format parameter passed to sprintf() is created by makefmt() function. In Python 3.5, makefmt() has a few parameters. The code is simple and looks safe.

The makefmt() function was much more complex in Python 3.3, it had more parameters: zeropad, width and precision. I refactored PyUnicode_FromFormatV() to optimize it. During the optimization, makefmt() was simplified, and in fact it is now possible to inline it and remove it. I just removed it in Python 3.5.

Should we change something in Python 2.7 and 3.4? Ignore the warning? Or can I just close the issue?

Thanks for the report Jeffrey.
History
Date User Action Args
2014-11-18 20:48:51vstinnersetrecipients: + vstinner, pitrou, python-dev, serhiy.storchaka, Jeffrey.Walton
2014-11-18 20:48:51vstinnersetmessageid: <1416343731.26.0.762631222889.issue20948@psf.upfronthosting.co.za>
2014-11-18 20:48:51vstinnerlinkissue20948 messages
2014-11-18 20:48:50vstinnercreate