[Python-Dev] possible memory leak on windows (valgrind report)

"Martin v. Löwis" martin at v.loewis.de
Thu Sep 22 08:28:51 CEST 2005


Neal Norwitz wrote:
> I wonder if using attributes for other features would gain us much.  I
> would really like to be able to use attributes for
> PyArgs_ParseTuple(), but I don't think gcc can use user defined
> formats.  It's only printf AFAIR.  Does anyone know if this isn't true
> and we can define our own format -> type mappings?

Yes and no. Yes, it cannot do user-defined formats, but no, it is not
just *printf. They support gcc_diag and gcc_cxxdiag for their own
internal printf-like functions (error() and warning()); they also
support strftime and strfmon.

Regards,
Martin


More information about the Python-Dev mailing list