• Barry Warsaw's avatar
    PyString_FromFormat() and PyString_FromFormatV(): Largely ripped from · dadace00
    Barry Warsaw yazdı
        PyErr_Format() these new C API methods can be used instead of
        sprintf()'s into hardcoded char* buffers.  This allows us to fix
        many situation where long package, module, or class names get
        truncated in reprs.
    
        PyString_FromFormat() is the varargs variety.
        PyString_FromFormatV() is the va_list variety
    
        Original PyErr_Format() code was modified to allow %p and %ld
        expansions.
    
        Many reprs were converted to this, checkins coming soo.  Not
        changed: complex_repr(), float_repr(), float_print(), float_str(),
        int_repr().  There may be other candidates not yet converted.
    
        Closes patch #454743.
    dadace00
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
PLAN.txt Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...