Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add mysnprintf.c to Windows build, + squash compiler wngs in mysnprintf.c. | Tim Peters | 2001-07-31 | 1 | -2/+3 |
| | |||||
* | This patch turns the Python API mismatch notice into a standard | Marc-André Lemburg | 2001-07-31 | 1 | -0/+96 |
Python warning which can be catched by means of the Python warning framework. It also adds two new APIs which hopefully make it easier for Python to switch to buffer overflow safe [v]snprintf() APIs for error reporting et al. The two new APIs are PyOS_snprintf() and PyOS_vsnprintf() and work just like the standard ones in many C libs. On platforms which have snprintf(), the native APIs are used, on all other an emulation with snprintf() tries to do its best. |