How to test tp_print?

Martin v. Löwis loewis at informatik.hu-berlin.de
Fri Apr 12 11:31:12 EDT 2002


"Hernan M. Foffani" <hfoffani at yahoo.com> writes:

> My question is:
> Is this code portable across different C stdio
> libraries? I'm thinking in line delimiters here.
> I suspect it is not :-(

You are right, this is not portable.

> Any other approach to this?

Open the file in binary mode.

Regards,
Martin



More information about the Python-list mailing list