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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com