> I'm not exactly sure why, since using .encoding would be useful > in all cases.
Right, I think it should use the file's encoding also for .write. 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