Numpy uses a mix of snprintf and PyOS_snprintf. The Python version is there because snprintf wasn't part of the standard until C99. So either we should stick to the python version or make the decision that we only support compilers with a working snprintf. Which way should we go? Chuck
On Sat, Jul 12, 2008 at 13:11, Charles R Harris <charlesr.harris@gmail.com> wrote:
Numpy uses a mix of snprintf and PyOS_snprintf. The Python version is there because snprintf wasn't part of the standard until C99. So either we should stick to the python version or make the decision that we only support compilers with a working snprintf. Which way should we go?
PyOS_snprintf -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
Robert Kern wrote:
On Sat, Jul 12, 2008 at 13:11, Charles R Harris <charlesr.harris@gmail.com> wrote:
Numpy uses a mix of snprintf and PyOS_snprintf. The Python version is there because snprintf wasn't part of the standard until C99. So either we should stick to the python version or make the decision that we only support compilers with a working snprintf. Which way should we go?
PyOS_snprintf
+1
participants (3)
-
Charles R Harris
-
Robert Kern
-
Travis E. Oliphant