Message231343
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. |
|
Date |
User |
Action |
Args |
2014-11-18 20:48:51 | vstinner | set | recipients:
+ vstinner, pitrou, python-dev, serhiy.storchaka, Jeffrey.Walton |
2014-11-18 20:48:51 | vstinner | set | messageid: <1416343731.26.0.762631222889.issue20948@psf.upfronthosting.co.za> |
2014-11-18 20:48:51 | vstinner | link | issue20948 messages |
2014-11-18 20:48:50 | vstinner | create | |
|